Commit e3c9e9c9 authored by Steffen van Bergerem's avatar Steffen van Bergerem Committed by Benjamin Neff

Improve comment service spec for limited post the user can't see

closes #7337
parent 436934e8
......@@ -5,6 +5,7 @@
* Increase time to wait before showing the hovercard [#7319](https://github.com/diaspora/diaspora/pull/7319)
* Remove some unused color-theme overrides [#7325](https://github.com/diaspora/diaspora/pull/7325)
* Change color of author-name on hover [#7326](https://github.com/diaspora/diaspora/pull/7326)
* Add like and reshare services [#7337](https://github.com/diaspora/diaspora/pull/7337)
## Bug fixes
* Fix path to `bundle` in `script/server` [#7281](https://github.com/diaspora/diaspora/pull/7281)
......
......@@ -26,7 +26,7 @@ describe CommentService do
it "fail if the user can not see the post" do
expect {
CommentService.new(eve).create("unknown id", "hi")
CommentService.new(eve).create(post.id, "hi")
}.to raise_error ActiveRecord::RecordNotFound
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment