Sha256: 768228764a8d71e56b3bc5e4ad82b5712c2108f02f1de1cf8c3bd31cac5b441a

Contents?: true

Size: 180 Bytes

Versions: 24

Compression:

Stored size: 180 Bytes

Contents

FactoryGirl.define do

  factory :note, class: Gaku::Note do
    title 'Excellent'
    content 'Excellent student'

    factory :invalid_note do
      title nil
    end
  end

end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
gaku_core-0.3.0 lib/gaku/testing/factories/note_factory.rb
gaku_core-0.3.0.pre.4 lib/gaku/testing/factories/note_factory.rb
gaku_core-0.3.0.pre.3 lib/gaku/testing/factories/note_factory.rb
gaku_core-0.3.0.pre.2 lib/gaku/testing/factories/note_factory.rb
gaku_core-0.3.0.pre.1 lib/gaku/testing/factories/note_factory.rb
gaku_core-0.3.0.pre.0 lib/gaku/testing/factories/note_factory.rb
gaku-0.2.4 core/lib/gaku/testing/factories/note_factory.rb
gaku_core-0.2.4 lib/gaku/testing/factories/note_factory.rb
gaku-0.2.3 core/lib/gaku/testing/factories/note_factory.rb
gaku_core-0.2.3 lib/gaku/testing/factories/note_factory.rb
gaku-0.2.2 core/lib/gaku/testing/factories/note_factory.rb
gaku_core-0.2.2 lib/gaku/testing/factories/note_factory.rb
gaku-0.2.1 core/lib/gaku/testing/factories/note_factory.rb
gaku_core-0.2.1 lib/gaku/testing/factories/note_factory.rb
gaku-0.2.0 core/lib/gaku/testing/factories/note_factory.rb
gaku_core-0.2.0 lib/gaku/testing/factories/note_factory.rb
gaku-0.1.1 core/lib/gaku/testing/factories/note_factory.rb
gaku_core-0.1.1 lib/gaku/testing/factories/note_factory.rb
gaku-0.1.0 core/lib/gaku/testing/factories/note_factory.rb
gaku_core-0.1.0 lib/gaku/testing/factories/note_factory.rb