Skip to content

Commit 9bf99e0

Browse files
committed
Fix tests for Travis CI
1 parent 5f53e47 commit 9bf99e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/rake_tasks_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ def test_rake_webpacker_yarn_install_in_production_environment
5353
end
5454

5555
def test_check_node_version
56-
output = Dir.chdir(test_app_path) { `rake webpacker:check_node 2>&1` }
56+
output = Dir.chdir(test_app_path) { `bundle exec rake webpacker:check_node 2>&1` }
5757
assert_empty output
5858
end
5959

6060
def test_check_yarn_version
61-
output = Dir.chdir(test_app_path) { `rake webpacker:check_yarn 2>&1` }
61+
output = Dir.chdir(test_app_path) { `bundle exec rake webpacker:check_yarn 2>&1` }
6262
assert_empty output
6363
end
6464

0 commit comments

Comments
 (0)