Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-03-21 01:26:58 +0300
committerDouwe Maan <douwe@selenight.nl>2016-03-21 01:26:58 +0300
commit45e8650c4f987f0a25d829bf8ac189b023f1eaa3 (patch)
treed419758f13c209b876ba41d1740ee6e6fc1c0fef /spec/models/group_spec.rb
parent19aa20d528aca670fd22954e08bf05f2f7a8fe32 (diff)
Fix specs
Diffstat (limited to 'spec/models/group_spec.rb')
-rw-r--r--spec/models/group_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb
index 208922b5a8e..68e213f4816 100644
--- a/spec/models/group_spec.rb
+++ b/spec/models/group_spec.rb
@@ -67,9 +67,9 @@ describe Group, models: true do
end
describe 'public_and_internal_only' do
- subject { described_class.public_and_internal_only.to_a }
+ subject { described_class.public_and_internal_only.to_a.sort }
- it{ is_expected.to eq([group, internal_group]) }
+ it{ is_expected.to eq([group, internal_group].sort) }
end
end