Sha256: ea3dca10cbc2f9ed9500f4d43b74468f607664a7866673aa119b2bbc8bba5501

Contents?: true

Size: 643 Bytes

Versions: 3

Compression:

Stored size: 643 Bytes

Contents

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

require 'cucumber_factory'
require 'gemika'
require 'factory_bot'

ActiveRecord::Base.default_timezone = :local

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

3 entries across 3 versions & 1 rubygems

Version Path
cucumber_factory-2.2.0 spec/spec_helper.rb
cucumber_factory-2.1.1 spec/spec_helper.rb
cucumber_factory-2.1.0 spec/spec_helper.rb