Sha256: 0da58f4738f737252982116a47cdc0ab73e7d375c9a9ab9766c827456a669102

Contents?: true

Size: 526 Bytes

Versions: 9

Compression:

Stored size: 526 Bytes

Contents

require 'factory_girl'

Factory.define(:twitter_oauth_user, :class => User) do |u|
  u.twitter_id { User.count + 1 }
  u.login 'twitterman'
  u.access_token 'fakeaccesstoken'
  u.access_secret 'fakeaccesstokensecret'
  
  u.name 'Twitter Man'
  u.description 'Saving the world for all Twitter kind.'
end

Factory.define(:twitter_basic_user, :class => User) do |u|
  u.twitter_id { User.count + 1 }
  u.login 'twitterman'
  u.password 'test'

  u.name 'Twitter Man'
  u.description 'Saving the world for all Twitter kind.'
end

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
mbleigh-twitter-auth-0.1.20 spec/fixtures/factories.rb
mbleigh-twitter-auth-0.1.21 spec/fixtures/factories.rb
mbleigh-twitter-auth-0.1.22 spec/fixtures/factories.rb
twitter-auth-with-mongo-mapper-0.1.1 spec/fixtures/factories.rb
twitter-auth-with-mongo-mapper-0.1.0 spec/fixtures/factories.rb
twitter-auth-with-mongo-mapper-0.0.9 spec/fixtures/factories.rb
twitter-auth-0.1.22 spec/fixtures/factories.rb
twitter-auth-0.1.21 spec/fixtures/factories.rb
twitter-auth-0.1.20 spec/fixtures/factories.rb