Permalink
Browse files

Merge pull request #26862 from headius/lazy_load_blade_for_tests

Lazy-load blade for actioncable tests; no blade on JRuby.
  • Loading branch information...
guilleiguaran committed Oct 21, 2016
2 parents 5dce39e + 51de32b commit f6df3d9a7a992f67164f13a1c03ae35a0b766c42
Showing with 2 additions and 1 deletion.
  1. +2 −1 actioncable/Rakefile
View
@@ -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

0 comments on commit f6df3d9

Please sign in to comment.