Sha256: 620023654931001506a13f52fbd03a076086da5c6e636584b08db618945e39db
Contents?: true
Size: 462 Bytes
Versions: 5
Compression:
Stored size: 462 Bytes
Contents
ENV["RAILS_ENV"] = "test" require "database_cleaner" require File.expand_path("../dummy/config/environment", __FILE__) require "support/generator_spec_setup" require "support/view_definition_helpers" RSpec.configure do |config| config.order = "random" config.include ViewDefinitionHelpers DatabaseCleaner.strategy = :transaction config.around(:each, db: true) do |example| DatabaseCleaner.start example.run DatabaseCleaner.clean end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
scenic-1.0.0 | spec/spec_helper.rb |
scenic-0.3.0 | spec/spec_helper.rb |
scenic-0.2.1 | spec/spec_helper.rb |
scenic-0.2.0 | spec/spec_helper.rb |
scenic-0.1.0 | spec/spec_helper.rb |