Sha256: 24ad747db494a5ab06612432b38922cbfc5454316986ab351fd36458ede89e47
Contents?: true
Size: 698 Bytes
Versions: 1
Compression:
Stored size: 698 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' 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.2 | generators/jasmine/templates/lib/tasks/jasmine.rake |