summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-07-16 14:17:43 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-07-21 22:11:08 -0400
commit1fee24a36143e8057d495e8a7e0f2d4b93d83f2a (patch)
tree1029afe691be0e9522d38c7ef354819bad595387 /spec/support
parent815cf7f84309f28af3561e1c9b49d1fa35719c7f (diff)
downloadgitlab-ce-1fee24a36143e8057d495e8a7e0f2d4b93d83f2a.tar.gz
Remove unused `be_valid_commit` matcher
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/matchers.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/support/matchers.rb b/spec/support/matchers.rb
index a2f853e3e70..87a034cca3b 100644
--- a/spec/support/matchers.rb
+++ b/spec/support/matchers.rb
@@ -1,12 +1,3 @@
-RSpec::Matchers.define :be_valid_commit do
- match do |actual|
- actual &&
- actual.id == ValidCommit::ID &&
- actual.message == ValidCommit::MESSAGE &&
- actual.author_name == ValidCommit::AUTHOR_FULL_NAME
- end
-end
-
def emulate_user(user)
user = case user
when :user then create(:user)