Sha256: 97578eb2c026f771e65b4701d5740592f47e2bca8023b6ab5fb58bc75a23cd2d

Contents?: true

Size: 198 Bytes

Versions: 54

Compression:

Stored size: 198 Bytes

Contents

FactoryGirl.define do
  factory :bookmark do |f|
    f.sequence(:title){|n| "bookmark_#{n}"}
    f.sequence(:url){|n| "http://example.jp/#{n}"}
    f.user_id{FactoryGirl.create(:user).id}
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
enju_bookmark-0.2.1 spec/factories/bookmark.rb
enju_bookmark-0.2.0 spec/factories/bookmark.rb
enju_bookmark-0.2.0.beta.5 spec/factories/bookmark.rb
enju_bookmark-0.2.0.beta.3 spec/factories/bookmark.rb
enju_bookmark-0.2.0.beta.2 spec/factories/bookmark.rb
enju_bookmark-0.2.0.beta.1 spec/factories/bookmark.rb
enju_bookmark-0.1.3 spec/factories/bookmark.rb
enju_bookmark-0.1.2 spec/factories/bookmark.rb
enju_bookmark-0.1.2.pre23 spec/factories/bookmark.rb
enju_bookmark-0.1.2.pre22 spec/factories/bookmark.rb
enju_bookmark-0.1.2.pre21 spec/factories/bookmark.rb
enju_bookmark-0.1.2.pre20 spec/factories/bookmark.rb
enju_bookmark-0.1.2.pre19 spec/factories/bookmark.rb
enju_bookmark-0.1.2.pre18 spec/factories/bookmark.rb
enju_bookmark-0.1.2.pre17 spec/factories/bookmark.rb
enju_bookmark-0.1.2.pre16 spec/factories/bookmark.rb
enju_bookmark-0.1.2.pre15 spec/factories/bookmark.rb
enju_bookmark-0.1.2.pre14 spec/factories/bookmark.rb
enju_bookmark-0.1.2.pre13 spec/factories/bookmark.rb
enju_bookmark-0.1.2.pre12 spec/factories/bookmark.rb