Sha256: eb55e1b1c27fca25cbd93341f3c6a875f412a17891ee4fbd42367e15c084fd0b

Contents?: true

Size: 596 Bytes

Versions: 2

Compression:

Stored size: 596 Bytes

Contents

namespace :jasmine do
  require 'jasmine'

  desc "Run continuous integration tests"
  require "spec"
  require 'spec/rake/spectask'
  Spec::Rake::SpecTask.new(:ci) do |t|
    t.spec_opts = ["--color", "--format", "specdoc"]
    t.verbose = true
    t.spec_files = ['spec/javascripts/support/jasmine_spec.rb']
  end
    task :server do
      require 'spec/javascripts/support/jasmine_config'
      
      puts "your tests are here:"
      puts "  http://localhost:8888/run.html"

      Jasmine::Config.new.start_server
    end
end

desc "Run specs via server"
task :jasmine => ['jasmine:server']

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jasmine-0.4.1 generators/jasmine/templates/lib/tasks/jasmine.rake
jasmine-0.4.0 generators/jasmine/templates/lib/tasks/jasmine.rake