Skip to content
Snippets Groups Projects
spec_helper.rb 580 B
Newer Older
Derek Lindahl's avatar
Derek Lindahl committed
RSpec.configure do |c|
Derek Lindahl's avatar
Derek Lindahl committed
  c.filter_run focus: true
  c.run_all_when_everything_filtered = true
Derek Lindahl's avatar
Derek Lindahl committed
  c.treat_symbols_as_metadata_keys_with_true_values = true
Derek Lindahl's avatar
Derek Lindahl committed
end

Derek Lindahl's avatar
Derek Lindahl committed
# TODO: Remove this.
# https://github.com/bblimke/webmock/issues/64
# https://github.com/bblimke/webmock/commit/9d255f118a6a39d297856fa83302aca1577b2c03#commitcomment-192888
require 'rspec/expectations'
require 'webmock/rspec'

OmniAuth.config.logger = Logger.new( '/dev/null' )