spec/spec_helper.rb in kamerling-0.0.1 vs spec/spec_helper.rb in kamerling-0.0.2
- old
+ new
@@ -7,17 +7,19 @@
require 'rack/test'
require 'kamerling'
Bogus.configure { |config| config.search_modules << Kamerling }
-module MiniTest::Spec::DSL
- def fakes *args
- args.map { |arg| fake arg }
- end
-end
+module Minitest
+ class Spec
+ include Rack::Test::Methods
-class MiniTest::Spec
- include Rack::Test::Methods
+ module DSL
+ def fakes *args
+ args.map { |arg| fake arg }
+ end
+ end
+ end
end
Thread.abort_on_exception = true
def run_all_threads