Created
August 16, 2012 15:23
-
-
Save eniolopes/3371001 to your computer and use it in GitHub Desktop.
This file contains 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
uby-1.9.3@palpiteros (match_page_specs) @ ~/projects/codeminer/Palpiteros | |
$ bundle exec rspec spec/integration/matches_spec.rb spec/integration/player_profile_spec.rb | |
No DRb server is running. Running in local process instead ... | |
/Users/eniolopes/projects/codeminer/Palpiteros/config/initializers/lib_requires.rb:6: warning: already initialized constant VERIFY_PEER | |
Matches Interface | |
user with no matches | |
sees the next match | |
user not logged in | |
sees the next match | |
selects a match to watch | |
sees closed guess tab | |
debate | |
cannot post comment and replies | |
clicks a link and receives an alert to register herself | |
sees match's debate | |
user is logged in | |
debate | |
own team's match | |
posts comments and replies | |
deletes her own comments and replies | |
choosing debate tab | |
comes with match's tab | |
chooses 'all my friends' | |
chooses 'my team's friends' | |
other user's comments | |
evaluates comments and replies (PENDING: Not yet implemented) | |
cannot delete (PENDING: Not yet implemented) | |
only evaluates comments once (PENDING: Not yet implemented) | |
different team's match | |
cannot post comment and replies (PENDING: Not yet implemented) | |
cannot evaluate (PENDING: Not yet implemented) | |
own team's match | |
before the match starts | |
guess score (PENDING: Not yet implemented) | |
does not guess on the game's attributes (PENDING: Not yet implemented) | |
match started | |
does not gues the score (PENDING: Not yet implemented) | |
guess on the game's attributes (PENDING: Not yet implemented) | |
guess on her own team players (PENDING: Not yet implemented) | |
into 15 minutes after the match finished | |
sees a countdown of how long she can guess (PENDING: Not yet implemented) | |
15 minutes after the match finished | |
cannot guess at all (PENDING: Not yet implemented) | |
sees the points made on the match (PENDING: Not yet implemented) | |
different team's match | |
cannot guess at all (PENDING: Not yet implemented) | |
An error occurred in an after(:all) hook. | |
ActiveRecord::StatementInvalid: NoMethodError: undefined method `nfields' for nil:NilClass: SELECT tablename | |
FROM pg_tables | |
WHERE schemaname = ANY (current_schemas(false)) | |
occurred at /Users/eniolopes/.rvm/gems/ruby-1.9.3-p194@palpiteros/gems/activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:603:in `result_as_array' | |
Player Profiles | |
should show the player profile (FAILED - 1) | |
should show the player profile with a slug (FAILED - 2) | |
user logged in | |
should redirect to a player profile if accessing the user page of a player (FAILED - 3) | |
toggling subscription | |
should allow toggling fan (FAILED - 4) | |
accessing root url | |
should show a player profile matching the slug when logged in (FAILED - 5) | |
should show a player profile matching the slug (FAILED - 6) | |
Pending: | |
Matches Interface user is logged in debate own team's match other user's comments evaluates comments and replies | |
# Not yet implemented | |
# ./spec/integration/matches_spec.rb:130 | |
Matches Interface user is logged in debate own team's match other user's comments cannot delete | |
# Not yet implemented | |
# ./spec/integration/matches_spec.rb:131 | |
Matches Interface user is logged in debate own team's match other user's comments only evaluates comments once | |
# Not yet implemented | |
# ./spec/integration/matches_spec.rb:132 | |
Matches Interface user is logged in debate different team's match cannot post comment and replies | |
# Not yet implemented | |
# ./spec/integration/matches_spec.rb:137 | |
Matches Interface user is logged in debate different team's match cannot evaluate | |
# Not yet implemented | |
# ./spec/integration/matches_spec.rb:138 | |
Matches Interface user is logged in own team's match before the match starts guess score | |
# Not yet implemented | |
# ./spec/integration/matches_spec.rb:144 | |
Matches Interface user is logged in own team's match before the match starts does not guess on the game's attributes | |
# Not yet implemented | |
# ./spec/integration/matches_spec.rb:145 | |
Matches Interface user is logged in own team's match match started does not gues the score | |
# Not yet implemented | |
# ./spec/integration/matches_spec.rb:149 | |
Matches Interface user is logged in own team's match match started guess on the game's attributes | |
# Not yet implemented | |
# ./spec/integration/matches_spec.rb:150 | |
Matches Interface user is logged in own team's match match started guess on her own team players | |
# Not yet implemented | |
# ./spec/integration/matches_spec.rb:151 | |
Matches Interface user is logged in own team's match into 15 minutes after the match finished sees a countdown of how long she can guess | |
# Not yet implemented | |
# ./spec/integration/matches_spec.rb:155 | |
Matches Interface user is logged in own team's match 15 minutes after the match finished cannot guess at all | |
# Not yet implemented | |
# ./spec/integration/matches_spec.rb:159 | |
Matches Interface user is logged in own team's match 15 minutes after the match finished sees the points made on the match | |
# Not yet implemented | |
# ./spec/integration/matches_spec.rb:160 | |
Matches Interface user is logged in different team's match cannot guess at all | |
# Not yet implemented | |
# ./spec/integration/matches_spec.rb:165 | |
Failures: | |
1) Player Profiles should show the player profile | |
Failure/Error: mount_friend_guesses_scenario | |
ActiveRecord::RecordInvalid: | |
invalido | |
# ./spec/support/scenarios.rb:8:in `mount_friend_guesses_scenario' | |
# ./spec/integration/player_profile_spec.rb:6:in `block (2 levels) in <top (required)>' | |
2) Player Profiles should show the player profile with a slug | |
Failure/Error: mount_friend_guesses_scenario | |
ActiveRecord::RecordInvalid: | |
invalido | |
# ./spec/support/scenarios.rb:8:in `mount_friend_guesses_scenario' | |
# ./spec/integration/player_profile_spec.rb:6:in `block (2 levels) in <top (required)>' | |
3) Player Profiles user logged in should redirect to a player profile if accessing the user page of a player | |
Failure/Error: mount_friend_guesses_scenario | |
ActiveRecord::RecordInvalid: | |
invalido | |
# ./spec/support/scenarios.rb:8:in `mount_friend_guesses_scenario' | |
# ./spec/integration/player_profile_spec.rb:6:in `block (2 levels) in <top (required)>' | |
4) Player Profiles user logged in toggling subscription should allow toggling fan | |
Failure/Error: mount_friend_guesses_scenario | |
ActiveRecord::RecordInvalid: | |
invalido | |
# ./spec/support/scenarios.rb:8:in `mount_friend_guesses_scenario' | |
# ./spec/integration/player_profile_spec.rb:6:in `block (2 levels) in <top (required)>' | |
5) Player Profiles accessing root url should show a player profile matching the slug when logged in | |
Failure/Error: mount_friend_guesses_scenario | |
ActiveRecord::RecordInvalid: | |
invalido | |
# ./spec/support/scenarios.rb:8:in `mount_friend_guesses_scenario' | |
# ./spec/integration/player_profile_spec.rb:6:in `block (2 levels) in <top (required)>' | |
6) Player Profiles accessing root url should show a player profile matching the slug | |
Failure/Error: mount_friend_guesses_scenario | |
ActiveRecord::RecordInvalid: | |
invalido | |
# ./spec/support/scenarios.rb:8:in `mount_friend_guesses_scenario' | |
# ./spec/integration/player_profile_spec.rb:6:in `block (2 levels) in <top (required)>' | |
Finished in 26.16 seconds | |
32 examples, 6 failures, 14 pending | |
Failed examples: | |
rspec ./spec/integration/player_profile_spec.rb:14 # Player Profiles should show the player profile | |
rspec ./spec/integration/player_profile_spec.rb:21 # Player Profiles should show the player profile with a slug | |
rspec ./spec/integration/player_profile_spec.rb:34 # Player Profiles user logged in should redirect to a player profile if accessing the user page of a player | |
rspec ./spec/integration/player_profile_spec.rb:44 # Player Profiles user logged in toggling subscription should allow toggling fan | |
rspec ./spec/integration/player_profile_spec.rb:64 # Player Profiles accessing root url should show a player profile matching the slug when logged in | |
rspec ./spec/integration/player_profile_spec.rb:73 # Player Profiles accessing root url should show a player profile matching the slug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment