We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc294f6 commit 44c9334Copy full SHA for 44c9334
features/request_specs/request_spec.feature
@@ -4,6 +4,9 @@ Feature: request spec
4
designed to drive behavior through the full stack, including routing
5
(provided by Rails) and without stubbing (that's up to you).
6
7
+ Request specs are marked by `:type => :request` or if you have set
8
+ `config.infer_spec_type_from_file_location!` by placing them in `spec/requests`.
9
+
10
With request specs, you can:
11
12
* specify a single request
@@ -28,7 +31,7 @@ Feature: request spec
28
31
"""ruby
29
32
require "rails_helper"
30
33
- RSpec.describe "Widget management" do
34
+ RSpec.describe "Widget management", :type => :request do
35
36
it "creates a Widget and redirects to the Widget's page" do
37
get "/widgets/new"
0 commit comments