spec/unit/spec_helper.rb in trollolo-0.1.1 vs spec/unit/spec_helper.rb in trollolo-0.2.0
- old
+ new
@@ -1,14 +1,14 @@
-require "simplecov"
+require 'simplecov'
SimpleCov.start
require_relative '../../lib/trollolo'
require 'given_filesystem/spec_helpers'
require 'webmock/rspec'
require 'byebug'
require 'pry'
-WebMock.disable_net_connect!(:allow => "codeclimate.com")
+WebMock.disable_net_connect!(allow: 'codeclimate.com')
-bin_path = File.expand_path( "../../../bin/", __FILE__ )
+bin_path = File.expand_path( '../../../bin/', __FILE__ )
if ENV['PATH'] !~ /#{bin_path}/
ENV['PATH'] = bin_path + File::PATH_SEPARATOR + ENV['PATH']
end