Sha256: 58cf630d0e8f74a10c5a61f4eddadd1c4d9203b880909e328f310245972d9c28
Contents?: true
Size: 894 Bytes
Versions: 18
Compression:
Stored size: 894 Bytes
Contents
require 'frodo' require 'rspec/matchers' # required for 'equivalent-xml' require 'equivalent-xml' require 'securerandom' require 'timecop' require 'webmock/rspec' # Load all files from `spec/support` Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f } WebMock.disable_net_connect! RSpec.configure do |config| if config.files_to_run.one? config.default_formatter = 'doc' end config.profile_examples = 3 config.order = :random config.expect_with :rspec do |expectations| expectations.syntax = :expect end config.mock_with :rspec do |mocks| mocks.syntax = :expect mocks.verify_partial_doubles = true end config.after(:example) do # We're calling this as a private method because there should not be any # reasons to have to flush the service registry except in testing. Frodo::ServiceRegistry.instance.send(:flush) end end
Version data entries
18 entries across 18 versions & 1 rubygems