Week0 - acanyon/RubyTuesdays-ConnectFour GitHub Wiki

Last login: Tue Jan 15 17:49:59 on ttys004 Amandas-MacBook-Air-2:~ acanyon$ cd projects/ Amandas-MacBook-Air-2:projects acanyon$ git clone [email protected]:CSUA/RubyTuesdays-ConnectFour.git Cloning into 'RubyTuesdays-ConnectFour'... remote: Counting objects: 105, done. remote: Compressing objects: 100% (76/76), done. remote: Total 105 (delta 8), reused 105 (delta 8) Receiving objects: 100% (105/105), 35.87 KiB, done. Resolving deltas: 100% (8/8), done.

Amandas-MacBook-Air-2:projects acanyon$ cd RubyTuesdays-ConnectFour/

==================================================================================== = NOTICE =

= RVM has encountered a new or modified .rvmrc file in the current directory = = This is a shell script and therefore may contain any shell commands. = = = = Examine the contents of this file carefully to be sure the contents are = = safe before trusting it! ( Choose v[iew] below to view the contents ) =

Do you wish to trust this .rvmrc file? (/Users/acanyon/projects/RubyTuesdays-ConnectFour/.rvmrc) y[es], n[o], v[iew], c[ancel]> yes Using /Users/acanyon/.rvm/gems/ruby-1.9.3-p194 with gemset rubytuesdays-connectfour

Amandas-MacBook-Air-2:RubyTuesdays-ConnectFour acanyon$ bundle install

Amandas-MacBook-Air-2:RubyTuesdays-ConnectFour acanyon$ rake db:migrate

Amandas-MacBook-Air-2:RubyTuesdays-ConnectFour acanyon$ rake db:test:prepare

Amandas-MacBook-Air-2:RubyTuesdays-ConnectFour acanyon$ rspec spec/models/game_spec.rb

Game underlying relationships should be initialized with an empty board should be initialized with status of :in_progress #make_move should place a piece on the board (FAILED - 1) should set the next_player (FAILED - 2) should update the state (FAILED - 3) should throw an ArgumentError if column is out of bounds (FAILED - 4) if column is full (FAILED - 5) if player is invalid (FAILED - 6) #board_position should return nil no piece is present should return player when sampling a full board (FAILED - 7) should return the correct player in a coord (FAILED - 8) should throw an error when coords are out of bounds (FAILED - 9) #coords_valid? should return true when coord is valid (FAILED - 10) should return false when coord is out of bounds #next_player should return the next player (FAILED - 11) #set_next_player should update the game object with the next player (FAILED - 12) should return the updated player (FAILED - 13) #check_for_winner should correctly detect a winner (FAILED - 14)