# File test/flash_responder_test.rb, line 251 def setup Responders::FlashResponder.flash_keys = [ :notice, :alert ] @controller.stubs(:polymorphic_url).returns("/") end
# File test/flash_responder_test.rb, line 256 def test_polymorhic_respond_with post :create assert_equal "Address was successfully created.", flash[:notice] end