Skip to content

Commit 996bef8

Browse files
committed
modify features blurb
1 parent 31fe4d0 commit 996bef8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

features/feature_specs/feature_spec.feature

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ Feature: feature spec
55
through an application. They should drive the application only via its
66
external interface, usually web pages.
77

8+
Feature specs are marked by `:type => :feature` or if you have set
9+
`config.infer_spec_type_from_file_location!` by placing them in `spec/features`.
10+
811
Feature specs require the [capybara](http://github.com/jnicklas/capybara)
912
gem, version 2.2.0 or later (we recommend 2.3.0 or later to avoid some
1013
deprecation warnings). Refer to the [capybara API
@@ -14,7 +17,8 @@ Feature: feature spec
1417
The `feature` and `scenario` DSL correspond to `describe` and `it`,
1518
respectively. These methods are simply aliases that allow feature specs to
1619
read more as [customer tests](http://c2.com/cgi/wiki?CustomerTest) and
17-
[acceptance tests](http://c2.com/cgi/wiki?AcceptanceTest).
20+
[acceptance tests](http://c2.com/cgi/wiki?AcceptanceTest). They set
21+
`:type => :feature` automatically for you.
1822

1923
Scenario: specify creating a Widget by driving the application with capybara
2024
Given a file named "spec/features/widget_management_spec.rb" with:

0 commit comments

Comments
 (0)