spec/spec_helper.rb in instrumental_agent-1.0.1 vs spec/spec_helper.rb in instrumental_agent-2.0.0.alpha
- old
+ new
@@ -1,12 +1,19 @@
$: << File.join(File.dirname(__FILE__), "..", "lib")
-require 'instrumental_agent'
+require 'rubygems'
+require 'bundler/setup'
+Bundler.require(:default, :development)
+
require 'test_server'
RSpec.configure do |config|
config.before(:all) do
+ end
+
+ config.before(:each) do
+ Timecop.return
end
config.after(:all) do
end
\ No newline at end of file