diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 7b78648..4eecf9f 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,5 @@ require 'simplecov' require 'coveralls' -require 'squib' SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, @@ -8,12 +7,15 @@ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ ] SimpleCov.start +require 'squib' + RSpec.configure do |config| config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end end + def test_file(str) "#{File.expand_path(File.dirname(__FILE__))}/data/#{str}" end