Skip to content

Commit 4adbe40

Browse files
author
Jordan Stephens
committed
use full path in integration tests
looks like this is required after updating to actionpack 4.2.0 See change made in this commit: rails/rails@4fd144d?diff=unified#diff-82ecef623242ece0e7d717577485d988L303
1 parent a80d917 commit 4adbe40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jsxtransform_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
class JSXTransformTest < ActionDispatch::IntegrationTest
2222

2323
test 'asset pipeline should transform JSX' do
24-
get 'assets/example.js'
24+
get '/assets/example.js'
2525
assert_response :success
2626
assert_equal EXPECTED_JS, @response.body
2727
end
2828

2929
test 'asset pipeline should transform JSX + Coffeescript' do
30-
get 'assets/example2.js'
30+
get '/assets/example2.js'
3131
assert_response :success
3232
# Different coffee-script may generate slightly different outputs,
3333
# as some version inserts an extra "\n" at the beginning.

0 commit comments

Comments
 (0)