Permalink
Browse files

Ensure state is cleaned up

  • Loading branch information...
1 parent c4c8873 commit 177fcb4b30131717be034f3d18fabed1f2bf2947 @alindeman alindeman committed Mar 5, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 spec/lib/zonebie_spec.rb
View
@@ -53,7 +53,11 @@
$stdout.expects(:puts).never
Zonebie.quiet = true
- Zonebie.set_random_timezone
+ begin
+ Zonebie.set_random_timezone
+ ensure
+ Zonebie.quiet = false
+ end
end
end
end

0 comments on commit 177fcb4

Please sign in to comment.