Skip to content

Instantly share code, notes, and snippets.

@petdance
Created April 6, 2017 19:48
Show Gist options
  • Save petdance/6c37a4569a6db4b00c5da4df9f7061d7 to your computer and use it in GitHub Desktop.
Save petdance/6c37a4569a6db4b00c5da4df9f7061d7 to your computer and use it in GitHub Desktop.
Site-admin/browse.t
676: ok( $fschool->is_following($user), 'User follows its own school' );
677: ok( $fschool->is_tchecking($user), 'User tchecks its own school' );
681: ok( !$another_school->is_following($user), 'User not following another school' );
682: ok( !$another_school->is_tchecking($user), 'User not tchecking another school' );
705: ok( !$fschool->is_following($user), 'User stopped following its own school' );
706: ok( !$fschool->is_tchecking($user), 'User stopped tchecking its own school' );
709: ok( $another_school->is_following($user), 'User now following another school' );
710: ok( $another_school->is_tchecking($user), 'User now tchecking another school' );
736: ok( $fschool->is_following($user), 'User now following school' );
737: ok( $fschool->is_tchecking($user), 'User now tchecking school' );
740: ok( !$fschool2->is_following($user), 'User not following school2' );
741: ok( !$fschool2->is_tchecking($user), 'User not tchecking school2' );
762: ok( !$fschool->is_following($user), 'User stopped following school' );
763: ok( !$fschool->is_tchecking($user), 'User stopped tchecking school' );
766: ok( $fschool2->is_following($user), 'User now following school2' );
Site-admin/browse.t
676: ok( $fschool->is_following($user), 'User follows its own school' );
677: ok( $fschool->is_tchecking($user), 'User tchecks its own school' );
681: ok( !$another_school->is_following($user), 'User not following another school' );
682: ok( !$another_school->is_tchecking($user), 'User not tchecking another school' );
705: ok( !$fschool->is_following($user), 'User stopped following its own school' );
706: ok( !$fschool->is_tchecking($user), 'User stopped tchecking its own school' );
709: ok( $another_school->is_following($user), 'User now following another school' );
710: ok( $another_school->is_tchecking($user), 'User now tchecking another school' );
736: ok( $fschool->is_following($user), 'User now following school' );
737: ok( $fschool->is_tchecking($user), 'User now tchecking school' );
740: ok( !$fschool2->is_following($user), 'User not following school2' );
741: ok( !$fschool2->is_tchecking($user), 'User not tchecking school2' );
762: ok( !$fschool->is_following($user), 'User stopped following school' );
763: ok( !$fschool->is_tchecking($user), 'User stopped tchecking school' );
766: ok( $fschool2->is_following($user), 'User now following school2' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment