Created
March 26, 2010 23:39
-
-
Save radamant/345535 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # RUN IN CPS | |
| require 'spec/factories' | |
| footage_user = Factory(:footage_contributor, | |
| :aip_id => "7c15b020-1b5d-012d-be98-64b9e8c74a0e", | |
| :email => "adampearson@example.com", | |
| :first_name => "Adam", | |
| :last_name => "Pearson", | |
| :is_enrolled => true | |
| ) | |
| Factory(:editorial_footage_contract, | |
| :contributor => footage_user, | |
| :source_id => 12311311, | |
| :teams_id => "footage-user-gief", | |
| :byline_name_title => "Footage User - Getty Images Editorial Footage" | |
| ) | |
| # RUN IN PRODUCER | |
| require 'spec/factories' | |
| # Create a footage user that needs inspection | |
| Factory(:editorial_footage_user_needing_inspection, | |
| # see CPS/bootstrapdata to find the aip_id | |
| :aip_id => "7c15b020-1b5d-012d-be98-64b9e8c74a0e", | |
| :login => "adampearson", | |
| :email => "adampearson@example.com", | |
| :password => "passw0rd!", | |
| :password_confirmation => "passw0rd!" | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment