aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/Rakefile
diff options
context:
space:
mode:
authorrmacklin <1863540+rmacklin@users.noreply.github.com>2018-11-26 14:16:02 -0800
committerJavan Makhmali <javan@javan.us>2018-11-26 17:16:02 -0500
commit85b080365313437f646070ca214fef433c06db6a (patch)
treea2df565070129cef9f5064b565229a1a9ad96be5 /actioncable/Rakefile
parent38b676181b7cce5191b1877ad6781c490d38436d (diff)
downloadrails-85b080365313437f646070ca214fef433c06db6a.tar.gz
rails-85b080365313437f646070ca214fef433c06db6a.tar.bz2
rails-85b080365313437f646070ca214fef433c06db6a.zip
Convert ActionCable tests from CoffeeScript to ES2015 and replace Blade with Karma and Rollup (#34440)
* Rename .coffee files in ActionCable test suite in prep for decaffeination * Decaffeinate ActionCable tests * Replace Blade with Karma and Rollup to run ActionCable JS tests - Add karma and qunit devDependencies - Add test script to ActionCable package - Use rollup to bundle ActionCable tests - Use karma as the ActionCable JS test runner * Replace vendored mock-socket with package devDependency in ActionCable * Move ActionCable yarn install to TravisCI before_install config * Clean up decaffeinated ActionCable tests to use consistent formatting
Diffstat (limited to 'actioncable/Rakefile')
-rw-r--r--actioncable/Rakefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/actioncable/Rakefile b/actioncable/Rakefile
index 52c86eb5d7..35de50f05a 100644
--- a/actioncable/Rakefile
+++ b/actioncable/Rakefile
@@ -25,12 +25,7 @@ namespace :test do
end
task :integration do
- require "blade"
- if ENV["CI"]
- Blade.start(interface: :ci)
- else
- Blade.start(interface: :runner)
- end
+ system("yarn test") || raise("Failures")
end
end