Sha256: a71ce397cf3e9a9f2725e0778e8a11c91d2e540ff4eac29164d9ac289329b4db

Contents?: true

Size: 271 Bytes

Versions: 12

Compression:

Stored size: 271 Bytes

Contents

FactoryGirl.define do
	sequence :username do |n|
		"username#{n}"
	end
	sequence :email do |n|
		"username#{n}@LaunchU.com"
	end
  factory :people_user, class: ::People::User do
  	username
  	email
		password "password123"
		password_confirmation "password123"
  end
end

Version data entries

12 entries across 7 versions & 1 rubygems

Version Path
json_voorhees-0.2.3 test/test_app/spec/factories/people_user_factory.rb
json_voorhees-0.2.3 lib/generators/json_voorhees/setup_app/templates/user/specs/factory_girl.rb
json_voorhees-0.2.2 lib/generators/json_voorhees/setup_app/templates/user/specs/factory_girl.rb
json_voorhees-0.2.2 test/test_app/spec/factories/people_user_factory.rb
json_voorhees-0.2.1 lib/generators/json_voorhees/setup_app/templates/user/specs/factory_girl.rb
json_voorhees-0.2.1 test/test_app/spec/factories/people_user_factory.rb
json_voorhees-0.2.0 lib/generators/json_voorhees/setup_app/templates/user/specs/factory_girl.rb
json_voorhees-0.2.0 test/test_app/spec/factories/people_user_factory.rb
json_voorhees-0.1.0 test/test_app/spec/factories/people_user_factory.rb
json_voorhees-0.1.0 lib/generators/json_voorhees/setup_app/templates/user/specs/factory_girl.rb
json_voorhees-0.0.2 lib/generators/json_voorhees/setup_app/templates/user/specs/factory_girl.rb
json_voorhees-0.0.1 lib/generators/json_voorhees/setup_app/templates/user/specs/factory_girl.rb