Permalink
Browse files

Reset inline status

  • Loading branch information...
1 parent afa2723 commit 3e0c949d2510f822a7ddfdbdc72f82e5001c1170 @leshill leshill committed Jul 14, 2011
Showing with 8 additions and 0 deletions.
  1. +1 −0 lib/resque_spec.rb
  2. +7 −0 spec/resque_spec.rb
View
@@ -41,6 +41,7 @@ def queues
def reset!
queues.clear
+ self.inline = false
end
private
View
@@ -160,5 +160,12 @@
ResqueSpec.reset!
ResqueSpec.queues.should be_empty
end
+
+ it "resets the inline status" do
+ ResqueSpec.inline = true
+ ResqueSpec.reset!
+ ResqueSpec.inline.should be_false
+ end
end
+
end

0 comments on commit 3e0c949

Please sign in to comment.