Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-03-21 18:28:47 +0300
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-05 19:44:14 +0300
commit874413cf701870a0fc1051f7c0a5fc4b4f884657 (patch)
tree6cb2917f6a72fc918c8f28d884597f36fe0de34b /spec/models/sent_notification_spec.rb
parent79889a6aa3dc878d196d0f2f445ab6b10ef10c74 (diff)
Fix specs
Diffstat (limited to 'spec/models/sent_notification_spec.rb')
-rw-r--r--spec/models/sent_notification_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/sent_notification_spec.rb b/spec/models/sent_notification_spec.rb
index 7a7ece24fc9..e482cafa831 100644
--- a/spec/models/sent_notification_spec.rb
+++ b/spec/models/sent_notification_spec.rb
@@ -4,7 +4,7 @@ describe SentNotification, model: true do
describe 'validation' do
describe 'note validity' do
context "when the project doesn't match the noteable's project" do
- subject { build(:sent_notification, project: create(:project)) }
+ subject { build(:sent_notification, noteable: create(:issue)) }
it "is invalid" do
expect(subject).not_to be_valid