##OVERVIEW We are going to create a command line application that allows you to look up the blog and twitter of your fellow classmates.
To start this project, we are going to scrape data from our student website: http://flatironschool-bk.herokuapp.com/
#DELIVERABLE Your project should look like this:
+ command_line_classmates
| +lib
|- scraper.rb
|- student.rb
| +spec
|- student_spec.rb
|- app.rb
Key:
libis a folder that holds our classesscraper.rbholds our web scraper classstudent.rbis our student classspecis a folder that holds our specsstudent_spec.rbis a test for our student classscraper_spec.rbis a test for our scraperapp_spec.rbis a test for our appapp.rbis our command line app that uses our scraper and our student class
#Instructions
- Scaffold your app to make it match the deliverable.
- Get it on github!
- Write a test for your student class. It should
a. be initialized with 3 parameters:
name,twitter,blogb. these should be readable and writable! - Write your Student class to make your test pass.
- Now write your scraper test. It should a. be initialized with a URL b. have a method to return a student's name c. have a method to return a student's blog url d. have a method to return a student's twitter url
- Now write your scraper to make your tests pass.