From 8076d7e19131ce934d47b869fd2ad197358d136b Mon Sep 17 00:00:00 2001 From: Jeremy Daer Date: Sun, 20 Mar 2016 17:00:46 -0700 Subject: Cable: add isolated tests and FAYE=1 test runs --- actioncable/Rakefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'actioncable/Rakefile') diff --git a/actioncable/Rakefile b/actioncable/Rakefile index 1d77fc7067..5ba7b7f7f6 100644 --- a/actioncable/Rakefile +++ b/actioncable/Rakefile @@ -19,6 +19,14 @@ Rake::TestTask.new do |t| t.ruby_opts = ["--dev"] if defined?(JRUBY_VERSION) end +namespace :test do + task :isolated do + Dir.glob("test/**/*_test.rb").all? do |file| + sh(Gem.ruby, '-w', '-Ilib:test', file) + end or raise "Failures" + end +end + namespace :assets do root_path = Pathname.new(dir) destination_path = root_path.join("lib/assets/compiled") -- cgit v1.2.3