summaryrefslogtreecommitdiff
path: root/spec/models
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-01-29 12:15:15 -0500
committerRobert Speicher <rspeicher@gmail.com>2015-01-29 13:14:30 -0500
commited17adfbcd7f279747ac8f23da079808299b06e6 (patch)
tree0df4c9d47597f2f2c8a7d1014991384ac195be18 /spec/models
parent9de4e696a68b7a0fb4d1e04becac24813fc4c922 (diff)
downloadgitlab-ce-ed17adfbcd7f279747ac8f23da079808299b06e6.tar.gz
Update shoulda-matchers
This outdated gem was the cause of those annoying MiniTest errors. Also updates one use of `ensure_inclusion_of` which was deprecated in favor of `validate_inclusion_of`.
Diffstat (limited to 'spec/models')
-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