Skip to content

Commit

Permalink
Merge pull request #1202 from bgeuken/cleanup_after_1194
Browse files Browse the repository at this point in the history
[ci] Remove unused variable from test
  • Loading branch information
bgeuken committed Oct 5, 2015
2 parents daf8387 + 708e5f8 commit 1265744
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/api/test/unit/user_test.rb
Expand Up @@ -100,10 +100,9 @@ def test_user_requests

def test_update_globalroles
user = User.find_by(login: "tom")
local_role = Role.create(title: "local_role", global: false)
user.roles << Role.create(title: "local_role", global: false)
user.roles << Role.create(title: "global_role_1", global: true)
user.roles << Role.create(title: "global_role_2", global: true)
user.roles << local_role
user.save!

user.update_globalroles(["global_role_2", "Admin"])
Expand Down

0 comments on commit 1265744

Please sign in to comment.