Sha256: fc21f376e6ff4c7b61ff4e07834d95d087f49b8865c8dbda07218a3f0a2cc49e
Contents?: true
Size: 701 Bytes
Versions: 1
Compression:
Stored size: 701 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_runner.rb'] end task :server do jasmine_config_overrides = 'spec/javascripts/support/jasmine_config.rb' require jasmine_config_overrides if File.exists?(jasmine_config_overrides) 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jasmine-0.10.2.3 | generators/jasmine/templates/lib/tasks/jasmine.rake |