test/unit/logging_tests.rb in deas-0.40.0 vs test/unit/logging_tests.rb in deas-0.41.0
- old
+ new
@@ -126,10 +126,10 @@
end
class VerboseLoggingInitTests < VerboseLoggingTests
desc "when init"
setup do
- @resp_status = @middleware_class::RESPONSE_STATUS_NAMES.keys.choice
+ @resp_status = @middleware_class::RESPONSE_STATUS_NAMES.keys.sample
@app_response[0] = @resp_status
@middleware = Deas::VerboseLogging.new(@app)
end
subject{ @middleware }