spec/spec_helper.rb in candy_check-0.5.0 vs spec/spec_helper.rb in candy_check-0.6.0

- old
+ new

@@ -1,6 +1,5 @@ - require "candy_check" require "candy_check/cli" def in_continuous_integration_environment? ENV["CI"] || ENV["TRAVIS"] || ENV["CONTINUOUS_INTEGRATION"] @@ -36,17 +35,16 @@ require_relative "support/with_temp_file" require_relative "support/with_command" ENV["DEBUG"] && Google::APIClient.logger.level = Logger::DEBUG -class MiniTest::Spec - class << self - alias :context :describe +module MiniTest + class Spec + class << self + alias context describe + end end -end - -module MiniTest module Assertions # The first parameter must be ```true```, not coercible to true. def assert_true(obj, msg = nil) msg = message(msg) { "<true> expected but was #{mu_pp obj}" } assert obj == true, msg