diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 5eb8cad557..72f4627785 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -24,6 +24,14 @@ require 'paper_trail/frameworks/rspec' require 'webdrivers' +require 'shoulda/matchers' +Shoulda::Matchers.configure do |config| + config.integrate do |with| + with.test_framework :rspec + with.library :rails + end +end + # Allow connections to phantomjs/selenium whilst raising errors # when connecting to external sites require 'webmock/rspec'