Sha256: 427e8c268739d3a9a344b9cfabaf35e3be72ee51d55e31803e0f3955e37687c5
Contents?: true
Size: 685 Bytes
Versions: 3
Compression:
Stored size: 685 Bytes
Contents
require 'rspec' require './lib/restpack_serializer' require './spec/fixtures/db' require './spec/fixtures/serializers' require './spec/support/factory' require 'database_cleaner' require 'coveralls' Coveralls::Output.silent = true unless ENV["CI"] Coveralls.wear! FactoryGirl.find_definitions RSpec.configure do |config| config.include FactoryGirl::Syntax::Methods config.raise_errors_for_deprecations! config.before(:suite) do DatabaseCleaner.clean_with(:truncation) end config.before(:each) do DatabaseCleaner.strategy = :transaction end config.before(:each) do DatabaseCleaner.start end config.after(:each) do DatabaseCleaner.clean end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
restpack_serializer-0.6.15 | spec/spec_helper.rb |
restpack_serializer-0.6.14 | spec/spec_helper.rb |
restpack_serializer-0.6.13 | spec/spec_helper.rb |