lib/jasmine/headless/task.rb in jasmine-headless-webkit-0.8.4 vs lib/jasmine/headless/task.rb in jasmine-headless-webkit-0.9.0.rc1

- old
+ new

@@ -12,26 +12,12 @@ yield self if block_given? desc 'Run Jasmine specs headlessly' task(name) { run_rake_task } - - create_rails_compliant_task if defined?(Rails) end private - def create_rails_compliant_task - if Rails.respond_to?(:version) && Rails.version >= "3.1.0" - task 'assets:precompile:for_testing' => :environment do - $stderr.puts "This task is deprecated and will be removed after 2012-01-01" - - Rails.application.assets.digest_class = Digest::JasmineTest - - Rake::Task['assets:precompile'].invoke - end - end - end - def run_rake_task case Jasmine::Headless::Runner.run( :colors => colors, :remove_html_file => !@keep_on_error, :jasmine_config => @jasmine_config