Sha256: cf28c11150e441e7cf1cd52f78cc7397c91861369869a09291ae1f358309d00a

Contents?: true

Size: 206 Bytes

Versions: 4

Compression:

Stored size: 206 Bytes

Contents

FactoryGirl.define do
  factory :snippet, class: OpenConferenceWare::Snippet do
    sequence(:slug){|n| "test-snippet-#{n}"}
    description "A testing snippet"
    content "This is only a test."
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
open_conference_ware-1.0.0.pre4 spec/factories/snippet_factory.rb
open_conference_ware-1.0.0.pre3 spec/factories/snippet_factory.rb
open_conference_ware-1.0.0.pre2 spec/factories/snippet_factory.rb
open_conference_ware-1.0.0.pre1 spec/factories/snippet_factory.rb