spec/controllers/flyboy/tasks_controller_spec.rb in flyboy-1.0.6 vs spec/controllers/flyboy/tasks_controller_spec.rb in flyboy-1.0.7

- old
+ new

@@ -44,10 +44,10 @@ end describe "GET index" do it "assigns all tasks as @tasks" do get :index, {} - expect(assigns(:tasks).to_a).to eq Flyboy::Task.all.to_a + expect(assigns(:tasks).sort).to eq Flyboy::Task.all.sort end context "when applying filter" do before do Flyboy::Task.destroy_all