Sha256: e485fac88c8c0d1ff487e3268a616b2aab60b3608feee4237869bd5cd4118746

Contents?: true

Size: 234 Bytes

Versions: 2

Compression:

Stored size: 234 Bytes

Contents

# Read about factories at https://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :post do
    title "Gems testing with RSpec and Cucumber"
  end

  factory :invalid_post, class: :post do
    body "TODO"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_token_authentication-1.0.0.pre.5 test/dummy/spec/factories/posts.rb
simple_token_authentication-1.0.0.beta.5 test/dummy/spec/factories/posts.rb