back to

Ruby on Rails To-do List

ARCHIVED

Archived: This project has been archived. Cards can no longer be completed.

Setting up Git, Rspec, and Capybara

Now I'll set up a git repository 
Stefy
Stefy completed this card.
  • Bundler installs gems locally inside our app
  • git init 
  • git add . and git commit so we add the untracked files

  1. Clean up the comments in the Gemfile
  2. We add RSpec to Gemfile:

group :development, :test do
  gem 'rspec-rails', '~> 2.0'
end

group :test do
  gem 'capybara', '~> 2.1.0'
end

3. Run bundle 
4. git status

bin/rails generate rspec:install

5. Back to Sublime: spec > spec_helper add:

require 'capybara/rspec'