Module: CouchPotato::RSpec::StubView

Defined in:
lib/couch_potato/rspec/stub_db.rb

Defined Under Namespace

Classes: ViewStub

Instance Method Summary collapse

Instance Method Details

#stub_view(clazz, view) ⇒ Object



25
26
27
# File 'lib/couch_potato/rspec/stub_db.rb', line 25

def stub_view(clazz, view)
  ViewStub.new clazz, view, self
end