diff options
Diffstat (limited to 'test/functional/queries_controller_test.rb')
-rw-r--r-- | test/functional/queries_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/queries_controller_test.rb b/test/functional/queries_controller_test.rb index 5fc454388..fc509a241 100644 --- a/test/functional/queries_controller_test.rb +++ b/test/functional/queries_controller_test.rb @@ -140,7 +140,7 @@ class QueriesControllerTest < ActionController::TestCase def test_create_with_failure @request.session[:user_id] = 2 - assert_no_difference 'Query.count' do + assert_no_difference '::Query.count' do post :create, :project_id => 'ecookbook', :query => {:name => ''} end assert_response :success |