test/middleware/test_golden_middleware.rb in tracksperanto-2.1.0 vs test/middleware/test_golden_middleware.rb in tracksperanto-2.1.1
- old
+ new
@@ -2,10 +2,10 @@
class GoldenMiddlewareTest < Test::Unit::TestCase
def test_default_golden_set_to_false
receiver = flexmock
m = Tracksperanto::Middleware::Golden.new(receiver)
- assert_equal false, m.enabled
+ assert_nil m.enabled
end
def test_golden_supports_hash_init
receiver = flexmock
m = Tracksperanto::Middleware::Golden.new(receiver, :enabled => true)
\ No newline at end of file