summaryrefslogtreecommitdiff
path: root/spec/models/members_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/members_spec.rb')
-rw-r--r--spec/models/members_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/members_spec.rb b/spec/models/members_spec.rb
index 6866c4794c2..cea653ec285 100644
--- a/spec/models/members_spec.rb
+++ b/spec/models/members_spec.rb
@@ -10,7 +10,7 @@ describe Member do
it { should validate_presence_of(:user) }
it { should validate_presence_of(:source) }
- it { should ensure_inclusion_of(:access_level).in_array(Gitlab::Access.values) }
+ it { should validate_inclusion_of(:access_level).in_array(Gitlab::Access.values) }
end
describe "Delegate methods" do