Sha256: 93965505143a9050666224e717fc6f97518b9a213cc5f0a600f05fda9492ba83
Contents?: true
Size: 929 Bytes
Versions: 3
Compression:
Stored size: 929 Bytes
Contents
$LOAD_PATH.unshift File.expand_path('../lib', __dir__) # Test Coverage require 'codeclimate-test-reporter' require 'coveralls' require 'simplecov' SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([ Coveralls::SimpleCov::Formatter, SimpleCov::Formatter::HTMLFormatter, CodeClimate::TestReporter::Formatter ]) SimpleCov.minimum_coverage 50 SimpleCov.start require 'active_record' ActiveRecord::Base.establish_connection( adapter: 'sqlite3', host: 'localhost', database: 'test.db' ) require 'acts_as_hashids' RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true end config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end config.default_formatter = 'doc' if config.files_to_run.one? config.profile_examples = 10 config.order = :random Kernel.srand config.seed end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
acts_as_hashids-0.1.9 | spec/spec_helper.rb |
acts_as_hashids-0.1.8 | spec/spec_helper.rb |
acts_as_hashids-0.1.6 | spec/spec_helper.rb |