Skip to content

Instantly share code, notes, and snippets.

@zenkbaries
Created March 7, 2016 17:28
Show Gist options
  • Save zenkbaries/4ed9e6308ed3b31040f2 to your computer and use it in GitHub Desktop.
Save zenkbaries/4ed9e6308ed3b31040f2 to your computer and use it in GitHub Desktop.
rspec test error result
[1] pry(#<Game>)> pieces.to_a
=> [#<Pawn id: 2235, type: "Pawn", row: 1, column: 4, in_game: true, player_id: 729, game_id: 243, created_at: "2016-03-07 16:45:49", updated_at: "2016-03-07 16:45:49", color: "black">]
[2] pry(#<Game>)> F.......................................................................................
Failures:
1) Moving pieces Dragging a piece(black_pawn) to a valid location
Failure/Error: visit game_path(game)
Capybara::Poltergeist::StatusFailError:
Request to 'http://127.0.0.1:49484/games/241' failed to reach server, check DNS and/or server status
# ./spec/features/move_pieces_spec.rb:12:in `block (2 levels) in <top (required)>'
2) Moving pieces Dragging a piece(black_pawn) to an invalid location
Failure/Error: visit game_path(game)
Capybara::Poltergeist::StatusFailError:
Request to 'http://127.0.0.1:49484/games/243' failed to reach server, check DNS and/or server status
# ./spec/features/move_pieces_spec.rb:24:in `block (2 levels) in <top (required)>'
Finished in 1 minute 6.99 seconds (files took 5.25 seconds to load)
93 examples, 2 failures
Failed examples:
rspec ./spec/features/move_pieces_spec.rb:10 # Moving pieces Dragging a piece(black_pawn) to a valid location
rspec ./spec/features/move_pieces_spec.rb:22 # Moving pieces Dragging a piece(black_pawn) to an invalid location
[Web Dev]: /vagrant/src/OrionChess $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment