diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-04-10 23:17:47 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-04-10 23:17:52 +0300 |
commit | 4f8c36c03c0f0aebc3956fa530f1b78ae3c76fc0 (patch) | |
tree | 0f1bfe3e51bf1e72ecc537b07173b504f5bb6940 /spec/factories | |
parent | 48a0e9f6aece36e83e3ffde5be42f964b5362221 (diff) |
Add specs
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/notes.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/factories/notes.rb b/spec/factories/notes.rb index 90c35e2c7f8..93f4903119c 100644 --- a/spec/factories/notes.rb +++ b/spec/factories/notes.rb @@ -40,6 +40,7 @@ FactoryGirl.define do transient do line_number 14 + diff_refs { noteable.try(:diff_refs) } end position do @@ -48,7 +49,7 @@ FactoryGirl.define do new_path: "files/ruby/popen.rb", old_line: nil, new_line: line_number, - diff_refs: noteable.try(:diff_refs) + diff_refs: diff_refs ) end |