Sha256: 3aae8a474209450fc42e929e94a2b3c4ab4e7c5f3f9886a41e65d50d7e3e1be0

Contents?: true

Size: 155 Bytes

Versions: 101

Compression:

Stored size: 155 Bytes

Contents

FactoryGirl.define do
  factory :subscription do |f|
    f.sequence(:title){|n| "subscription_#{n}"}
    f.user_id{FactoryGirl.create(:user).id}
  end
end

Version data entries

101 entries across 98 versions & 2 rubygems

Version Path
enju_library-0.2.3 spec/factories/subscription.rb
enju_leaf-1.2.1 spec/factories/subscription.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/bundler/gems/enju_library-d36f415e177e/spec/factories/subscription.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_library-0.2.2/spec/factories/subscription.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_library-0.2.1/spec/factories/subscription.rb
enju_library-0.2.2 spec/factories/subscription.rb
enju_library-0.2.1 spec/factories/subscription.rb
enju_library-0.2.0 spec/factories/subscription.rb
enju_leaf-1.2.0 spec/factories/subscription.rb
enju_leaf-1.2.0.beta.4 spec/factories/subscription.rb
enju_library-0.2.0.beta.10 spec/factories/subscription.rb
enju_library-0.2.0.beta.9 spec/factories/subscription.rb
enju_leaf-1.2.0.beta.3 spec/factories/subscription.rb
enju_library-0.2.0.beta.8 spec/factories/subscription.rb
enju_library-0.2.0.beta.7 spec/factories/subscription.rb
enju_library-0.2.0.beta.6 spec/factories/subscription.rb
enju_library-0.2.0.beta.5 spec/factories/subscription.rb
enju_library-0.2.0.beta.4 spec/factories/subscription.rb
enju_leaf-1.2.0.beta.2 spec/factories/subscription.rb
enju_library-0.2.0.beta.3 spec/factories/subscription.rb