diff options
author | Stan Hu <stanhu@gmail.com> | 2015-10-15 02:08:22 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-10-15 23:54:13 -0700 |
commit | effa94bb878f4e9c208640c0f067b20cc004db2c (patch) | |
tree | fba6e1caa67734592a0b870ee7f0c42324536f44 /spec/services/merge_requests | |
parent | 22775c596f9f8be79ec7599b561aa0ccb40bdc42 (diff) | |
download | gitlab-ce-effa94bb878f4e9c208640c0f067b20cc004db2c.tar.gz |
Improve SystemNote interface for branch add/restore case
Diffstat (limited to 'spec/services/merge_requests')
-rw-r--r-- | spec/services/merge_requests/refresh_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/merge_requests/refresh_service_spec.rb b/spec/services/merge_requests/refresh_service_spec.rb index edb9fd0b43c..41eb5d41b2e 100644 --- a/spec/services/merge_requests/refresh_service_spec.rb +++ b/spec/services/merge_requests/refresh_service_spec.rb @@ -121,7 +121,7 @@ describe MergeRequests::RefreshService do it { expect(@merge_request.notes).to be_empty } it { expect(@merge_request).to be_open } - it { expect(@fork_merge_request.notes.last.note).to include('Source branch `master` added') } + it { expect(@fork_merge_request.notes.last.note).to include('Source branch `master` restored') } it { expect(@fork_merge_request).to be_open } end |