spec/spec_helper.rb in petfinder-1.0.3 vs spec/spec_helper.rb in petfinder-1.0.4
- old
+ new
@@ -1,8 +1,14 @@
require 'petfinder'
require 'rspec'
require 'webmock/rspec'
+RSpec.configure do |config|
+ config.expect_with :rspec do |expectations|
+ expectations.syntax = :should
+ end
+end
+
def fixture_file(filename)
File.read(File.dirname(__FILE__) + "/fixtures/#{filename}")
end
def stub_get(url, filename)