Skip to content

Commit c1dc56c

Browse files
committed
System specs: Exclude config.infer_spec_type_from_file_location!
1 parent 08e598e commit c1dc56c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

features/system_specs/system_specs.feature

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ Feature: System spec
1111
> Chrome browser, and a screen size of 1400x1400. The next section explains
1212
> how to change the default settings.
1313

14-
System specs are marked by `:type => :system` or if you have set
15-
`config.infer_spec_type_from_file_location!` by placing them in
16-
`spec/system`.
14+
System specs are marked by setting type to :system, e.g. `:type => :system`.
1715

18-
The Capybara gem is automatically required, so you need that in your
19-
Gemfile. Configure a webserver (e.g. `Capybara.server = :webrick`) before
20-
attempting to use system specs.
16+
The Capybara gem is automatically required, and Rails includes it in
17+
generated application Gemfiles. Configure a webserver (e.g.
18+
`Capybara.server = :webrick`) before attempting to use system specs.
2119

2220
RSpec **does not** use your `ApplicationSystemTestCase` helper. Instead it
2321
uses the default `driven_by(:selenium)` from Rails. If you want to override

0 commit comments

Comments
 (0)