Sha256: b1e051e5b628536419a44aaef48bcc56599914320f83ce7d1dcbacd83a55b952
Contents?: true
Size: 623 Bytes
Versions: 71
Compression:
Stored size: 623 Bytes
Contents
require_relative "test_helpers" RSpec.configure do |config| config.include Agilibox::TestHelpers if defined?(FactoryBot) config.include FactoryBot::Syntax::Methods end if defined?(FactoryGirl) warn "Please replace FactoryGirl by FactoryBot" config.include FactoryGirl::Syntax::Methods end if defined?(Devise) config.include Devise::Test::ControllerHelpers, type: :controller end config.after(:each) { Timecop.return } end Shoulda::Matchers.configure do |config| config.integrate do |with| with.test_framework :rspec with.library :rails end end Zonebie.set_random_timezone
Version data entries
71 entries across 71 versions & 1 rubygems