From da197bb6598e544768e3c832129dc840da8c4e5d Mon Sep 17 00:00:00 2001 From: r888888888 Date: Mon, 13 May 2013 20:15:04 -0700 Subject: [PATCH] fix note controller test --- test/functional/notes_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/notes_controller_test.rb b/test/functional/notes_controller_test.rb index 232cad1a2..2a8a3f791 100644 --- a/test/functional/notes_controller_test.rb +++ b/test/functional/notes_controller_test.rb @@ -32,7 +32,7 @@ class NotesControllerTest < ActionController::TestCase context "create action" do should "create a note" do assert_difference("Note.count", 1) do - post :create, {:note => {:x => 100, :y => 100, :width => 100, :height => 100, :body => "abc", :post_id => @post.id}}, {:user_id => @user.id} + post :create, {:note => {:x => 0, :y => 0, :width => 10, :height => 10, :body => "abc", :post_id => @post.id}, :format => :json}, {:user_id => @user.id} end end end