test/lib/vedeu/application/application_controller_test.rb in vedeu-0.6.71 vs test/lib/vedeu/application/application_controller_test.rb in vedeu-0.7.0
- old
+ new
@@ -22,13 +22,13 @@
before { Vedeu.stubs(:trigger) }
subject { instance.redirect_to(controller, action, params) }
- it {
+ it do
Vedeu.expects(:trigger).with(:_goto_, controller, action, params)
subject
- }
+ end
it { instance.must_respond_to(:redirect) }
it { instance.must_respond_to(:goto) }
end