Skip to content

Commit 4e77a12

Browse files
author
Gabe Scholz
committed
Fix specs for CI:
- CI doesn't seem to like uris that aren't prefixed with a /
1 parent a03e09c commit 4e77a12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/controller_helper_test.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ class ControllerHelperTest < ActionDispatch::IntegrationTest
1010
end
1111

1212
test 'uses a custom layout and status' do
13-
get 'helper/1'
13+
get '/helper/1'
1414

1515
assert response.status == 218
1616
assert response.body.include?('This is a different layout')
1717
end
1818

1919
test 'renders the React component' do
20-
get 'helper/1'
20+
get '/helper/1'
2121

2222
%w(data-react-class="Foo" data-react-props="{&quot;bar&quot;:&quot;value&quot;}").each do |segment|
2323
assert response.body.include?(segment)

0 commit comments

Comments
 (0)