FIX: Broken spec which was brittle
This commit is contained in:
parent
2258dbd232
commit
1ffa448154
|
@ -447,7 +447,7 @@ describe PostCreator do
|
|||
raw: raw,
|
||||
cooking_options: { traditional_markdown_linebreaks: true })
|
||||
|
||||
Post.any_instance.expects(:cook).with(raw, has_key(:traditional_markdown_linebreaks)).twice.returns(raw)
|
||||
Post.any_instance.expects(:cook).with(raw, has_key(:traditional_markdown_linebreaks)).returns(raw)
|
||||
creator.create
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue