spec/controller/actions_spec.rb in happy-0.1.0.pre13 vs spec/controller/actions_spec.rb in happy-0.1.0.pre14
- old
+ new
@@ -64,10 +64,12 @@
end
describe '#run' do
it "passes control to another controller" do
class InnerController < Controller
- route { 'awesome!' }
+ def route
+ 'awesome!'
+ end
end
def app
build_controller { run InnerController }
end