Sha256: 9615d4356cb3bf17331cbc6c6a6906a8840a9c35f0f79135fb19129d09171e64

Contents?: true

Size: 195 Bytes

Versions: 13

Compression:

Stored size: 195 Bytes

Contents

require 'factory_girl'

FactoryGirl.define do
  factory :alchemy_site, class: 'Alchemy::Site' do
    name 'A Site'
    host 'domain.com'

    trait :public do
      public true
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
alchemy_cms-3.5.0 lib/alchemy/test_support/factories/site_factory.rb
alchemy_cms-3.4.2 lib/alchemy/test_support/factories/site_factory.rb
alchemy_cms-3.5.0.rc2 lib/alchemy/test_support/factories/site_factory.rb
alchemy_cms-3.5.0.rc1 lib/alchemy/test_support/factories/site_factory.rb
alchemy_cms-3.4.1 lib/alchemy/test_support/factories/site_factory.rb
alchemy_cms-3.3.3 lib/alchemy/test_support/factories/site_factory.rb
alchemy_cms-3.3.2 lib/alchemy/test_support/factories/site_factory.rb
alchemy_cms-3.4.0 lib/alchemy/test_support/factories/site_factory.rb
alchemy_cms-3.4.0.rc1 lib/alchemy/test_support/factories/site_factory.rb
alchemy_cms-3.3.1 lib/alchemy/test_support/factories/site_factory.rb
alchemy_cms-3.3.0 lib/alchemy/test_support/factories/site_factory.rb
alchemy_cms-3.3.0.rc2 lib/alchemy/test_support/factories/site_factory.rb
alchemy_cms-3.3.0.rc1 lib/alchemy/test_support/factories/site_factory.rb