test/test_helper.rb in datacentred-0.1.1pre vs test/test_helper.rb in datacentred-1.1.1
- old
+ new
@@ -1,14 +1,17 @@
-require_relative '../lib/datacentred'
-require 'json'
+require 'coveralls'
+Coveralls.wear!
+
+ENV["RAILS_ENV"] = "test"
+$VERBOSE = nil
+
require 'vcr'
VCR.configure do |c|
c.cassette_library_dir = 'test/vcr_cassettes'
c.hook_into :webmock
end
-TEST_ENV = true
+require_relative '../lib/datacentred'
-require 'rubygems'
-gem "minitest"
+require 'webmock/minitest'
require 'minitest/autorun'