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 86a5c1f commit a9adc65Copy full SHA for a9adc65
spec/rspec/rails/example/controller_example_group_spec.rb
@@ -90,6 +90,30 @@ def my_helper
90
91
example.foos_url
92
end
93
+
94
+context"when controller is not a stub"do
95
+classSomeController < ActionController::Base
96
+defindex
97
+rendertext: 'ok'
98
+end
99
100
101
+let(:group){group_forSomeController}
102
+let(:controller){SomeController}
103
104
+it"properly delegates routing assertions"do
105
+with_isolated_stderrdo
106
+example.with_routingdo |map|
107
+map.drawdo
108
+get'some/index'=>"r_spec/rails/some#index"
109
110
111
+expect{example.get:index}.not_toraise_error
112
113
114
115
116
117
118
119
describe"#bypass_rescue"do
0 commit comments