Module: Reins::Spec::Matchers
- Defined in:
- lib/reins/spec/matchers.rb
Defined Under Namespace
Classes: HaveHttpStatus, RedirectTo
Instance Method Summary collapse
-
#have_http_status(value) ⇒ Object
rubocop:disable Naming/PredicatePrefix.
-
#redirect_to(url) ⇒ Object
rubocop:enable Naming/PredicatePrefix.
Instance Method Details
#have_http_status(value) ⇒ Object
rubocop:disable Naming/PredicatePrefix
54 55 56 |
# File 'lib/reins/spec/matchers.rb', line 54 def have_http_status(value) HaveHttpStatus.new(value) end |
#redirect_to(url) ⇒ Object
rubocop:enable Naming/PredicatePrefix
59 60 61 |
# File 'lib/reins/spec/matchers.rb', line 59 def redirect_to(url) RedirectTo.new(url) end |