spec/models/massive/status_spec.rb in massive-0.1.0 vs spec/models/massive/status_spec.rb in massive-0.1.1
- old
+ new
@@ -75,10 +75,13 @@
end
end
describe "#enqueued?" do
context "when model is enqueued" do
- before { model.enqueue }
+ before do
+ model.stub(:reload).and_return(model)
+ model.enqueue
+ end
its(:enqueued?) { should be_true }
end
context "when model is not enqueued" do