Commit ee9539c4 by Saqib

fix test failure

parent 8275356e
...@@ -565,7 +565,6 @@ describe "app" do ...@@ -565,7 +565,6 @@ describe "app" do
it "marks thread as read and confirms its value on returned response" do it "marks thread as read and confirms its value on returned response" do
user = create_test_user(123) user = create_test_user(123)
thread = CommentThread.first
user.mark_as_read(thread) user.mark_as_read(thread)
get "/api/v1/threads/#{thread.id}", user_id: user.id get "/api/v1/threads/#{thread.id}", user_id: user.id
last_response.should be_ok last_response.should be_ok
......
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