Follow Josh's Readme
Repo lives here: https://github.com/gaelyn/futbol_2.git
I tried to git push origin main
and got:
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: unable to access 'https://github.com/gaelyn/futbol_2.git/': The requested URL returned error: 403
To fix it, I:
- Renamed the remote url from https... to git@github.com
git remote -v
=> origin https://...
git remote rm origin
git remote add origin git@github.com:gaelyn/futbol_2.git
Turing's Class Method Exploration
Josh's Walkthrough
Added a test helper file that encapsulates gems and requirements for tests into one file. Now you just have to put require './test/test_helper'
at the top of each test and the following in test/test_helper.rb
:
gem 'minitest', '~> 5.2'
require 'minitest/autorun'
require 'minitest/pride'
require './lib/game.rb'
require './lib/team.rb'
Because I added Rakefile to root directory, we can run rake
from the terminal to run all tests