diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-06-20 20:20:39 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-07-07 01:50:59 +0300 |
commit | 2f30d00432e9727581e814062ea6117e1946a981 (patch) | |
tree | 06ec465690ac4e0fd6520e254c5064b21794d48a /features | |
parent | db65954d78899f6d48a682e0c220cbb4e6f59cb8 (diff) |
Add DiffNote model
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/merge_requests.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/features/steps/project/merge_requests.rb b/features/steps/project/merge_requests.rb index 3611c187202..da848afd48e 100644 --- a/features/steps/project/merge_requests.rb +++ b/features/steps/project/merge_requests.rb @@ -272,10 +272,9 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps step 'user "John Doe" leaves a comment like "Line is wrong" on diff' do mr = MergeRequest.find_by(title: "Bug NS-05") - create(:note_on_merge_request_diff, project: project, + create(:diff_note_on_merge_request, project: project, noteable: mr, author: user_exists("John Doe"), - line_code: sample_commit.line_code, note: 'Line is wrong') end |