File tree 1 file changed +5
-5
lines changed
features/controller_specs
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ Feature: render_views
12
12
render_views
13
13
14
14
describe "GET index" do
15
- it "says 'Listing widgets' " do
15
+ it "has a widgets related heading " do
16
16
get :index
17
- expect(response.body).to match /Listing widgets/im
17
+ expect(response.body).to match /<h1>.* widgets/im
18
18
end
19
19
end
20
20
end
@@ -34,7 +34,7 @@ Feature: render_views
34
34
describe "GET index" do
35
35
it "renders the actual template" do
36
36
get :index
37
- expect(response.body).to match /Listing widgets/im
37
+ expect(response.body).to match /<h1>.* widgets/im
38
38
end
39
39
end
40
40
@@ -65,7 +65,7 @@ Feature: render_views
65
65
describe "GET index" do
66
66
it "renders the actual template" do
67
67
get :index
68
- expect(response.body).to match /Listing widgets/im
68
+ expect(response.body).to match /<h1>.* widgets/im
69
69
end
70
70
end
71
71
end
@@ -105,7 +105,7 @@ Feature: render_views
105
105
describe "GET index" do
106
106
it "renders the index template" do
107
107
get :index
108
- expect(response.body).to match /Listing widgets/im
108
+ expect(response.body).to match /<h1>.* widgets/im
109
109
end
110
110
end
111
111
end
You can’t perform that action at this time.
0 commit comments