Module: RSpec::Cells::ExampleGroup::Controller

Defined in:
lib/rspec/cells/example_group.rb

Instance Method Summary collapse

Instance Method Details

#controller(name) ⇒ Object

DSL for test, e.g. `controller SongsController`.


47
48
49
# File 'lib/rspec/cells/example_group.rb', line 47

def controller(name) # DSL for test, e.g. `controller SongsController`.
  let (:controller_class) { name }
end