Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>According to Jnicklas (<a href="https://github.com/jnicklas/capybara" rel="nofollow">https://github.com/jnicklas/capybara</a>) you should move all Capybare specs you have in spec/requests to spec/features, since spec/features will now be used by Capybara 2.x. So this means that once you moved your Capybara specs to features, you could completely remove these specs from the spec/requests directory.</p> <p>Personally, I've finished the Ruby on Rails tutorial with no problems at all. I used Capybara 2.x and never used spec/features (just the 'old' spec/requests). For Rspec 2.x support you have to add require >'capybara/rspec'&lt; to your spec_helper.rb file. Without it, your tests could fail.</p> <p>Edit:</p> <p>I've just read trough the Rspec docs. If you are using Capybara in your specs these specs have to be moved to spec/features. If there is no Capybara involved the specs can simply stay in your requests directory.</p> <p>Feature specs <a href="https://www.relishapp.com/rspec/rspec-rails/v/2-12-2/docs/feature-specs/feature-spec" rel="nofollow">https://www.relishapp.com/rspec/rspec-rails/v/2-12-2/docs/feature-specs/feature-spec</a>!</p> <p>Request specs <a href="https://www.relishapp.com/rspec/rspec-rails/v/2-12-2/docs/request-specs" rel="nofollow">https://www.relishapp.com/rspec/rspec-rails/v/2-12-2/docs/request-specs</a></p> <p>More info, from Rubydoc: <a href="http://rubydoc.info/github/jnicklas/capybara/master#Using_Capybara_with_RSpec" rel="nofollow">http://rubydoc.info/github/jnicklas/capybara/master#Using_Capybara_with_RSpec</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload