test/unit/save_action_tests.rb in much-rails-0.2.8 vs test/unit/save_action_tests.rb in much-rails-0.3.0
- old
+ new
@@ -48,16 +48,10 @@
end
end
class InitTests < ReceiverTests
desc "when init"
- subject do
- receiver_class.new(
- params: {},
- current_session: nil,
- request: nil,
- )
- end
+ subject{ receiver_class.new(params: {}, request: nil) }
should have_imeths :save_result
should "call #change_result for its #save_result method" do
Assert.stub_on_call(subject, :change_result) do |call|