summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-06 11:33:39 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-06 11:33:39 +0000
commit6f1d553cff1affcd7d819636444c7416b153636c (patch)
tree3b716640da6c44f8e8ddec76ebee9a0f99539f9a /test/integration
parentfd4071fadb51b1f3ac994b78f6bec1e838618f67 (diff)
downloadredmine-6f1d553cff1affcd7d819636444c7416b153636c.tar.gz
redmine-6f1d553cff1affcd7d819636444c7416b153636c.zip
Typo
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8803 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/api_test/memberships_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/api_test/memberships_test.rb b/test/integration/api_test/memberships_test.rb
index 04696962a..ada24208b 100644
--- a/test/integration/api_test/memberships_test.rb
+++ b/test/integration/api_test/memberships_test.rb
@@ -154,7 +154,7 @@ class ApiTest::MembershipsTest < ActionController::IntegrationTest
should "update membership" do
assert_not_equal [1,2], Member.find(2).role_ids.sort
assert_no_difference 'Member.count' do
- put '/memberships/2.xml', {:membership => {:user_id => 3, :role_ids => [1,266]}}, credentials('jsmith')
+ put '/memberships/2.xml', {:membership => {:user_id => 3, :role_ids => [1,2]}}, credentials('jsmith')
assert_response :ok
end