Module: Spec::Rails::Matchers

Includes:
Presenter::PresentingMethod
Defined in:
lib/presenter/rspec.rb

Defined Under Namespace

Classes: PresentMatcher

Instance Method Summary collapse

Methods included from Presenter::PresentingMethod

#presenting

Instance Method Details

#present(*args) ⇒ Object



28
29
30
# File 'lib/presenter/rspec.rb', line 28

def present(*args)
  PresentMatcher.new(presenting(*args), request.format)
end