summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2016-08-08 10:07:15 -0700
committerhttp://jneen.net/ <jneen@jneen.net>2016-08-30 11:32:55 -0700
commit99ee86206e3e19dd93910a4e7a3a5b6e3a7add9a (patch)
tree75b35d1341e3b9d4d97088f903a67dcc84948d16 /spec
parent0f4df86a5e559b9c15f07b43edad829928f59e87 (diff)
downloadgitlab-ce-99ee86206e3e19dd93910a4e7a3a5b6e3a7add9a.tar.gz
remove six, and use a Set instead
Diffstat (limited to 'spec')
-rw-r--r--spec/models/members/project_member_spec.rb3
-rw-r--r--spec/models/note_spec.rb3
2 files changed, 2 insertions, 4 deletions
diff --git a/spec/models/members/project_member_spec.rb b/spec/models/members/project_member_spec.rb
index 913d74645a7..c2bf48da44e 100644
--- a/spec/models/members/project_member_spec.rb
+++ b/spec/models/members/project_member_spec.rb
@@ -71,8 +71,7 @@ describe ProjectMember, models: true do
describe :import_team do
before do
- @abilities = Six.new
- @abilities << Ability
+ @abilities = Ability
@project_1 = create :project
@project_2 = create :project
diff --git a/spec/models/note_spec.rb b/spec/models/note_spec.rb
index 9e8ae07e0b2..f4b9fa270e4 100644
--- a/spec/models/note_spec.rb
+++ b/spec/models/note_spec.rb
@@ -85,8 +85,7 @@ describe Note, models: true do
@u1 = create(:user)
@u2 = create(:user)
@u3 = create(:user)
- @abilities = Six.new
- @abilities << Ability
+ @abilities = Ability
end
describe 'read' do