Sha256: 38341bb18e298b3351616537c2f12079ad16efdb4b45f9edeea28a2e9bae6484

Contents?: true

Size: 786 Bytes

Versions: 5

Compression:

Stored size: 786 Bytes

Contents

$: << File.join(File.dirname(__FILE__), "/../../lib" )

require 'cucumber_factory'
require 'gemika'
require 'factory_bot'
require 'carrierwave'
require 'carrierwave/orm/activerecord'

ActiveRecord::Base.default_timezone = :local

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

5 entries across 5 versions & 1 rubygems

Version Path
cucumber_factory-2.5.0 spec/spec_helper.rb
cucumber_factory-2.4.1 spec/spec_helper.rb
cucumber_factory-2.4.0 spec/spec_helper.rb
cucumber_factory-2.3.1 spec/spec_helper.rb
cucumber_factory-2.3.0 spec/spec_helper.rb