Skip to content

gaelyn/futbol_2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes for myself as I build this project

Follow Josh's Readme

Repo lives here: https://github.com/gaelyn/futbol_2.git

Dealing with Git personal access token

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:

  1. 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 CSV Exploration Lesson

Turing's Class Method Exploration
Josh's Walkthrough

Testing

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'

Rakefile

Because I added Rakefile to root directory, we can run rake from the terminal to run all tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages