Sha256: 2dfb40aea8f338e0f89ed5e428fdcce890162cf7ecab2ef924e101740b302a1c
Contents?: true
Size: 592 Bytes
Versions: 1
Compression:
Stored size: 592 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' # Load dummy Rails app if in Rails context ENV['RAILS_ENV'] = 'test' require File.expand_path('dummy/config/environment.rb', __dir__) # Load support files require_relative 'support/factory_bot' require_relative 'support/shoulda_matchers' require_relative 'support/database_cleaner' RSpec.configure do |config| config.include(Shoulda::Matchers::ActiveModel, type: :model) config.include(Shoulda::Matchers::ActiveRecord, type: :model) config.include(ActiveSupport::Testing::TimeHelpers) # ... rest of your RSpec configuration end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stateful_models-0.0.3 | spec/rails_helper.rb |