File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
Feature : System spec
2
2
3
3
System specs are RSpec's wrapper around Rails' own
4
- [system tests](http ://guides.rubyonrails.org/testing.html#system-testing).
4
+ [system tests](https ://guides.rubyonrails.org/testing.html#system-testing).
5
5
6
6
System tests allow you to test user interactions with your application,
7
7
running tests in either a real or a headless browser. System tests use
@@ -15,6 +15,8 @@ Feature: System spec
15
15
uses the default `driven_by(:selenium)` from Rails. If you want to override
16
16
this behaviour you can call `driven_by` manually in a test.
17
17
18
+ System specs run in a transaction. So unlike feature specs with
19
+ javascript, you do not need [DatabaseCleaner](https://github.com/DatabaseCleaner/database_cleaner).
18
20
19
21
@system_test
20
22
Scenario : System specs
You can’t perform that action at this time.
0 commit comments