Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'factory_girl'
- FactoryGirl.find_definitions
- android = FactoryGirl.create(:user, email: "android@ex.com", password: 'asdf')
- ios = FactoryGirl.create(:user, email: "ios@ex.com", password: 'asdf')
- android_sub = FactoryGirl.create(:subscription, :android_sub, user: android)
- ios_sub = FactoryGirl.create(:subscription, :ios_sub, user: ios)
Add Comment
Please, Sign In to add comment