RailsApps/rails-stripe-membership-saas — pull request #68 by Austio (2013-04-21 16:07:08+00:00)
Title: Update user_spec to account for pre-existing Roles in database

Updated user_spec to store the number of initial roles in the database before FactoryGirl creates 2 additional ones. Then we check for the number of roles after the @user role is changes for the number we had before plus the number that we have added (@number_of_initial_roles + 2)