aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable
diff options
context:
space:
mode:
authorCharles Oliver Nutter <headius@headius.com>2016-10-21 17:19:44 -0500
committerCharles Oliver Nutter <headius@headius.com>2016-10-21 17:19:44 -0500
commit51de32b2ec8543a91a8a37013445455dd1d02115 (patch)
tree4d282ed9e782564c09e2a52c7badb8b5db0a2b5f /actioncable
parente16a5fb508bf7833d7f7a9429ccd3b20990b7d4b (diff)
downloadrails-51de32b2ec8543a91a8a37013445455dd1d02115.tar.gz
rails-51de32b2ec8543a91a8a37013445455dd1d02115.tar.bz2
rails-51de32b2ec8543a91a8a37013445455dd1d02115.zip
Lazy-load blade for actioncable tests; no blade on JRuby.
Diffstat (limited to 'actioncable')
-rw-r--r--actioncable/Rakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/actioncable/Rakefile b/actioncable/Rakefile
index 648de57004..87d443919c 100644
--- a/actioncable/Rakefile
+++ b/actioncable/Rakefile
@@ -1,7 +1,6 @@
require "rake/testtask"
require "pathname"
require "action_cable"
-require "blade"
dir = File.dirname(__FILE__)
@@ -25,6 +24,7 @@ namespace :test do
end
task :integration do
+ require "blade"
if ENV["CI"]
Blade.start(interface: :ci)
else
@@ -36,6 +36,7 @@ end
namespace :assets do
desc "Compile Action Cable assets"
task :compile do
+ require "blade"
Blade.build
end
end