Mention spec/acceptance (for RSpec) in README
This commit is contained in:
parent
74521456af
commit
e1ba3c4dfb
|
@ -105,10 +105,11 @@ Capybara is only included for examples with <tt>:type => :request</tt> (or
|
||||||
<tt>:acceptance</tt> for compatibility).
|
<tt>:acceptance</tt> for compatibility).
|
||||||
|
|
||||||
Note that if you use the <tt>rspec-rails</tt> gem, <tt>:type => :request</tt>
|
Note that if you use the <tt>rspec-rails</tt> gem, <tt>:type => :request</tt>
|
||||||
is automatically set on all files under <tt>spec/requests</tt> (and also
|
is automatically set on all files under <tt>spec/requests</tt> (and,
|
||||||
<tt>spec/integration</tt>), so that's a good directory to place your Capybara specs
|
synonymously, <tt>spec/integration</tt> and <tt>spec/acceptance</tt>), so
|
||||||
in. <tt>rspec-rails</tt> will also automatically include Capybara in
|
that's a good directory to place your Capybara specs in. <tt>rspec-rails</tt>
|
||||||
<tt>:controller</tt> and <tt>:mailer</tt> examples.
|
will also automatically include Capybara in <tt>:controller</tt> and
|
||||||
|
<tt>:mailer</tt> examples.
|
||||||
|
|
||||||
RSpec's metadata feature can be used to switch to a different driver. Use
|
RSpec's metadata feature can be used to switch to a different driver. Use
|
||||||
<tt>:js => true</tt> to switch to the javascript driver, or provide a
|
<tt>:js => true</tt> to switch to the javascript driver, or provide a
|
||||||
|
|
Loading…
Reference in New Issue