diff options
author | micael.bergeron <micaelbergeron@gmail.com> | 2017-11-06 17:03:11 +0300 |
---|---|---|
committer | micael.bergeron <micaelbergeron@gmail.com> | 2017-11-06 17:03:11 +0300 |
commit | bb0543ef4782febe4dd0f26fc8a476b743fb86ca (patch) | |
tree | 9320fd05f6c1eb2f57cdd6fc65493a9366dce17d /spec/factories/merge_requests.rb | |
parent | 6c1c64d4bb36099fa4876db309b5f8873650e909 (diff) |
ignore the column before the migration
reword the changelog
remove dead code in the specs
Diffstat (limited to 'spec/factories/merge_requests.rb')
-rw-r--r-- | spec/factories/merge_requests.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories/merge_requests.rb b/spec/factories/merge_requests.rb index 7c4a22c94c2..cc6cef63b47 100644 --- a/spec/factories/merge_requests.rb +++ b/spec/factories/merge_requests.rb @@ -83,10 +83,10 @@ FactoryGirl.define do target_project = merge_request.target_project source_project = merge_request.source_project - # Fake `write_ref` if we don't have repository + # Fake `fetch_ref!` if we don't have repository # We have too many existing tests replying on this behaviour unless [target_project, source_project].all?(&:repository_exists?) - allow(merge_request).to receive(:write_ref) + allow(merge_request).to receive(:fetch_ref!) end end |