'Out-of-the-box' template for a sinatra web app with capybara testing framework
- On the repo home page, click the green 'Use this template' button
- Github will then ask you the name of the repository you wish to use the template in. (E.G RPS-Challenge)
- Once you have named your repo, click the green 'Create repository from template' button
- Github will initialize a new repo for you with the name you chose and include all the sinatra/capybara files and gems required
- Clone this repo into your text editor
!--IMPORTANT--! 6. Lastly, rspec_helper.rb, config.ru and app.rb all reference the class 'Battle' by default. Please change all instances of the Battle class in the aforementioned files to whatever class/model you want to work on. !--IMPORTANT--!
- You should now be able to use rackup from the terminal to start the server as well as use rspec for both rspec unit tests & capybara feature tests.
- THAT'S ALL FOLKS!