summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-09-20 12:54:44 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-09-20 12:54:44 +0000
commit71e04370d8225aeedaee67049cbec4d8ecf4891e (patch)
tree0c2b390b92fb7eaaa1ca9c08ca988e2ad98ee92f /test
parent4b8655cb27d71e6922e4dc7d38528da4bbcb87a4 (diff)
downloadredmine-71e04370d8225aeedaee67049cbec4d8ecf4891e.tar.gz
redmine-71e04370d8225aeedaee67049cbec4d8ecf4891e.zip
Confusing name: test public query called "private" (#20740).
Patch by Kirill Smirnov. git-svn-id: http://svn.redmine.org/redmine/trunk@14617 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/issues_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index ff4f7b311..432693a56 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -398,7 +398,7 @@ class IssuesControllerTest < ActionController::TestCase
end
def test_public_query_should_be_available_to_other_users
- q = IssueQuery.create!(:name => "private", :user => User.find(2), :visibility => IssueQuery::VISIBILITY_PUBLIC, :project => nil)
+ q = IssueQuery.create!(:name => "public", :user => User.find(2), :visibility => IssueQuery::VISIBILITY_PUBLIC, :project => nil)
@request.session[:user_id] = 3
get :index, :query_id => q.id