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 authored and rafaelfranca committed Oct 21, 2016
1 parent 5c9b16c commit 5072337f10f23da2153c38d196f6c48cbc6b7ae2
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,13 +24,15 @@ namespace :test do
end
task :javascript do
require "blade"
Blade.start(interface: :runner)
end
end
namespace :assets do
desc "Compile Action Cable assets"
task :compile do
require "blade"
Blade.build
end
end

0 comments on commit 5072337

Please sign in to comment.