Sha256: d59736a6176521972ab2a930507285bcd2abb9eadb290ca9e9d772769b098f0d

Contents?: true

Size: 230 Bytes

Versions: 12

Compression:

Stored size: 230 Bytes

Contents

begin
  require 'factory_girl'

  if FactoryGirl.configuration.factories.count.zero?
    FactoryGirl.find_definitions
  end

  RSpec.configure do |config|
    config.include FactoryGirl::Syntax::Methods
  end
rescue LoadError
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rspectacular-0.11.1 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.11.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.10.1 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.10.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.9.2 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.9.1 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.9.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.8.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.7.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.6.1 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.5.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.4.0 lib/rspectacular/plugins/factory_girl.rb