summaryrefslogtreecommitdiff
path: root/features/steps/project/issues/issues.rb
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-05-30 04:07:19 +0000
committerRobert Speicher <robert@gitlab.com>2016-05-30 04:07:19 +0000
commit43c35b0f20fb3bb67ea2b96bf8f806c7e95b6aec (patch)
treea20ce10b953e3e9aa3bd3005dcdc965d2687debe /features/steps/project/issues/issues.rb
parentc84ec18fcc78e8b99d2ac2bb6bb05209b5bb8872 (diff)
parentf36e7ff2f9c8eef4c5ca60fac0aa32361bc5374f (diff)
downloadgitlab-ce-43c35b0f20fb3bb67ea2b96bf8f806c7e95b6aec.tar.gz
Merge branch 'feature/note-validator' into 'master'
Improve note validation This MR improves note validation. Originates from #15577. Closes #17260 See merge request !4024
Diffstat (limited to 'features/steps/project/issues/issues.rb')
-rw-r--r--features/steps/project/issues/issues.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/issues/issues.rb b/features/steps/project/issues/issues.rb
index f2c68f007ef..5cd431e05d5 100644
--- a/features/steps/project/issues/issues.rb
+++ b/features/steps/project/issues/issues.rb
@@ -348,7 +348,7 @@ class Spinach::Features::ProjectIssues < Spinach::FeatureSteps
step 'another user adds a comment with text "Yay!" to issue "Release 0.4"' do
issue = Issue.find_by!(title: 'Release 0.4')
- create(:note_on_issue, noteable: issue, note: 'Yay!')
+ create(:note_on_issue, noteable: issue, project: project, note: 'Yay!')
end
step 'I should see a new comment with text "Yay!"' do