spec/spec_helper.rb in candy_check-0.2.1 vs spec/spec_helper.rb in candy_check-0.3.0

- old
+ new

@@ -23,9 +23,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 + 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}" }