Skip to content

Commit 8fdbe4e

Browse files
johnpitchkoJonRowe
andauthored
Update features/system_specs/system_specs.feature
Co-authored-by: Jon Rowe <mail@jonrowe.co.uk>
1 parent 641ebbb commit 8fdbe4e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

features/system_specs/system_specs.feature

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ Feature: System specs
1919

2020
RSpec **does not** use your `ApplicationSystemTestCase` helper. Instead it
2121
uses the default `driven_by(:selenium)` from Rails. If you want to override
22-
this behaviour you can call `driven_by` manually in a test. Alternatively,
23-
if you want to specify a default driver for all system specs (rather than
24-
using `driven_by` in every spec), add the following to `spec/rails_helper.rb`:
22+
this behaviour you need to call `driven_by` in your specs.
23+
24+
This can either be done manually in the spec files themselves or
25+
you can use the configuration helpers to do this for every system spec,
26+
for example by adding the following to `spec/rails_helper.rb`:
2527

2628
```
2729
config.before(type: :system) do

0 commit comments

Comments
 (0)