diff --git a/spec/models/task_spec.rb b/spec/models/task_spec.rb index a4c259a6..2c02c0ab 100644 --- a/spec/models/task_spec.rb +++ b/spec/models/task_spec.rb @@ -77,12 +77,12 @@ expect(task.status).to eq "Done" end - it "deletes tasks that are not in the list" do + it "keeps tasks that are not in the list anymore" do task = tasks :done Task.sync_with_github - expect(Task.exists?(task.id)).to eq false + expect(Task.exists?(task.id)).to eq true end it "only updates finished_storypoints" do