diff --git a/spec/models/room_spec.rb b/spec/models/room_spec.rb index 85857e06..afb613c6 100644 --- a/spec/models/room_spec.rb +++ b/spec/models/room_spec.rb @@ -172,7 +172,7 @@ it "returns stories grouped by whether it has point or not" do sleep 1 - story_2.touch + story_2.touch(:created_at) room.id = 1 expect(room.grouped_stories.size).to eq 2 expect(room.grouped_stories[:groomed].size).to eq 1