Sha256: a44d89b2dc9cba5bee2e496b167ef0361b23a817707d0d7a9d4bad43df8a393c
Contents?: true
Size: 952 Bytes
Versions: 1
Compression:
Stored size: 952 Bytes
Contents
$: << File.join(File.dirname(__FILE__), "/../../lib" ) require 'logger' require 'cucumber_factory' require 'gemika' require 'factory_bot' require 'carrierwave' require 'carrierwave/orm/activerecord' if ActiveRecord.respond_to?(:default_timezone=) ActiveRecord.default_timezone = :local else # Legacy method that was removed in Rails 7.1: ActiveRecord::Base.default_timezone = :local end Dir["#{File.dirname(__FILE__)}/support/uploaders/*.rb"].sort.each {|f| require f} Dir["#{File.dirname(__FILE__)}/support/models/*.rb"].sort.each {|f| require f} Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].sort.each {|f| require f} Dir["#{File.dirname(__FILE__)}/shared_examples/**/*.rb"].sort.each {|f| require f} Gemika::RSpec.configure_clean_database_before_example Gemika::RSpec.configure_should_syntax Gemika::RSpec.configure do |config| config.before(:each) do PlainRubyClass.reset end config.include FactoryBot::Syntax::Methods end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cucumber_factory-2.6.0 | spec/spec_helper.rb |