Sha256: c263ecdbcc4c4649966e6af14941ca1a00cd5433777426791356eeb525b97c41

Contents?: true

Size: 396 Bytes

Versions: 75

Compression:

Stored size: 396 Bytes

Contents

RSpec.configure do |config|
  #additional factory_girl configuration

  # Factory girl methods don't need to be prefaced with FactoryGirl
  config.include FactoryGirl::Syntax::Methods

  # Best each test suite is run, make sure the factories are valid
  config.before(:suite) do
    begin
      DatabaseCleaner.start
      FactoryGirl.lint
    ensure
      DatabaseCleaner.clean
    end
  end
end

Version data entries

75 entries across 70 versions & 3 rubygems

Version Path
arcadex-1.2.1 test/test_app/spec/support/factory_girl.rb
arcadex-1.2.0 test/test_app/spec/support/factory_girl.rb
json_voorhees-1.0.0 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb
json_voorhees-0.5.5 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb
json_voorhees-0.5.4 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb
json_voorhees-0.5.3 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb
json_voorhees-0.5.2 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb
json_voorhees-0.5.1 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb
json_voorhees-0.5.0 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb
json_voorhees-0.4.9 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb
json_voorhees-0.4.8 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb
json_voorhees-0.4.7 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb
json_voorhees-0.4.6 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb
json_voorhees-0.4.5 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb
json_voorhees-0.4.4 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb
json_voorhees-0.4.3 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb
json_voorhees-0.4.2 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb
json_voorhees-0.4.1 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb
json_voorhees-0.4.0 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb
json_voorhees-0.3.9 lib/generators/json_voorhees/setup_app/templates/rspec_factory_girl.rb