rails generate controller StaticPages home help --no-test-framework
rails generate rspec:install
rails generate rspec:install
#adding Capybara::DSL to spec_helper.rb
#adding spork-rails, guard-rspec and guard-sport to Gemfile
guard init
spork --bootstrap
Adding static_pages test