Sha256: 189450f1c907ba6b0fef1f4f0e3909f0fc29dbda8ca204bd2ed44c1c9ee31e5a

Contents?: true

Size: 943 Bytes

Versions: 8

Compression:

Stored size: 943 Bytes

Contents

require 'pry'
require 'pathname'
require 'webmock/rspec'
require 'factory_girl'

WebMock.disable_net_connect!(allow_localhost: true)

factories_path = Pathname.new(File.expand_path('..', __FILE__))
factories_path = factories_path.join('factories', '**', '*.rb')
Dir[factories_path].each { |f| require f }

support_path = Pathname.new(File.expand_path('..', __FILE__))
support_path = support_path.join('support', '**', '*.rb')
Dir[support_path].each { |f| require f }

RSpec.configure do |config|
  # Fix for faker deprecation message
  I18n.enforce_available_locales                         = true
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered                = true
  config.order                                           = 'random'
  config.filter_run           :focus
  config.filter_run_excluding broken: true

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
data-com-api-0.2.1 spec/spec_helper.rb
data-com-api-0.2.0 spec/spec_helper.rb
data-com-api-0.1.5 spec/spec_helper.rb
data-com-api-0.1.4 spec/spec_helper.rb
data-com-api-0.1.3 spec/spec_helper.rb
data-com-api-0.1.2 spec/spec_helper.rb
data-com-api-0.1.1 spec/spec_helper.rb
data-com-api-0.1.0 spec/spec_helper.rb