diff options
author | Charles Oliver Nutter <headius@headius.com> | 2016-10-21 17:19:44 -0500 |
---|---|---|
committer | Charles Oliver Nutter <headius@headius.com> | 2016-10-21 17:19:44 -0500 |
commit | 51de32b2ec8543a91a8a37013445455dd1d02115 (patch) | |
tree | 4d282ed9e782564c09e2a52c7badb8b5db0a2b5f | |
parent | e16a5fb508bf7833d7f7a9429ccd3b20990b7d4b (diff) | |
download | rails-51de32b2ec8543a91a8a37013445455dd1d02115.tar.gz rails-51de32b2ec8543a91a8a37013445455dd1d02115.tar.bz2 rails-51de32b2ec8543a91a8a37013445455dd1d02115.zip |
Lazy-load blade for actioncable tests; no blade on JRuby.
-rw-r--r-- | actioncable/Rakefile | 3 |
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 |