summaryrefslogtreecommitdiff
path: root/spec/services/git_tag_push_service_spec.rb
diff options
context:
space:
mode:
authorJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2014-03-06 16:15:19 +0100
committerJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2014-03-06 16:15:19 +0100
commite6ceec9d60b9fe5eaec8faf777307f39bd4b1fa3 (patch)
treec4b46e989c6f48f512d7883de82e78b9160a6c44 /spec/services/git_tag_push_service_spec.rb
parent4a251849cf0408780f6ee536699c212f8fe7a7be (diff)
downloadgitlab-ce-e6ceec9d60b9fe5eaec8faf777307f39bd4b1fa3.tar.gz
Renamed oldrev/newrev to before/after
Diffstat (limited to 'spec/services/git_tag_push_service_spec.rb')
-rw-r--r--spec/services/git_tag_push_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/git_tag_push_service_spec.rb b/spec/services/git_tag_push_service_spec.rb
index d3f7ca30748..e65a8204c54 100644
--- a/spec/services/git_tag_push_service_spec.rb
+++ b/spec/services/git_tag_push_service_spec.rb
@@ -20,8 +20,8 @@ describe GitTagPushService do
subject { @push_data }
it { should include(ref: @ref) }
- it { should include(oldrev: @oldrev) }
- it { should include(newrev: @newrev) }
+ it { should include(before: @oldrev) }
+ it { should include(after: @newrev) }
it { should include(user_id: user.id) }
it { should include(user_name: user.name) }
it { should include(project_id: project.id) }