Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rename jasmine_spec.rb to jasmine_runner.rb to prevent unintended run…

…ning
  • Loading branch information...
commit 8ec5b9761ce12ec27db596355f298c49fad92abb 1 parent 1b8a480
Rajan Agaskar ragaskar authored
2  bin/jasmine
View
@@ -32,7 +32,7 @@ if ARGV[0] == 'init'
copy_unless_exists('spec/javascripts/SpecHelper.js')
copy_unless_exists('spec/javascripts/ExampleSpec.js')
copy_unless_exists('spec/javascripts/support/jasmine_config.rb')
- copy_unless_exists('spec/javascripts/support/jasmine_spec.rb')
+ copy_unless_exists('spec/javascripts/support/jasmine_runner.rb')
rails_tasks_dir = dest_path('lib/tasks')
if File.exist?(rails_tasks_dir)
2  generators/jasmine/jasmine_generator.rb
View
@@ -8,7 +8,7 @@ def manifest
m.directory "spec/javascripts/support"
m.file "spec/javascripts/support/jasmine_config.rb", "spec/javascripts/support/jasmine_config.rb"
- m.file "spec/javascripts/support/jasmine_spec.rb", "spec/javascripts/support/jasmine_spec.rb"
+ m.file "spec/javascripts/support/jasmine_runner.rb", "spec/javascripts/support/jasmine_runner.rb"
m.file "spec/javascripts/support/jasmine-rails.yml", "spec/javascripts/support/jasmine.yml"
m.directory "lib/tasks"
2  generators/jasmine/templates/lib/tasks/jasmine.rake
View
@@ -7,7 +7,7 @@ namespace :jasmine do
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']
+ t.spec_files = ['spec/javascripts/support/jasmine_runner.rb']
end
task :server do
require 'spec/javascripts/support/jasmine_config'
0  ...emplates/spec/javascripts/support/jasmine_spec.rb → ...plates/spec/javascripts/support/jasmine_runner.rb
View
File renamed without changes
2  jasmine.gemspec
View
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
"generators/jasmine/templates/spec/javascripts/support/jasmine-rails.yml",
"generators/jasmine/templates/spec/javascripts/support/jasmine.yml",
"generators/jasmine/templates/spec/javascripts/support/jasmine_config.rb",
- "generators/jasmine/templates/spec/javascripts/support/jasmine_spec.rb",
+ "generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb",
"jasmine/contrib/ruby/jasmine_runner.rb",
"jasmine/contrib/ruby/jasmine_spec_builder.rb",
"jasmine/contrib/ruby/run.html",
Please sign in to comment.
Something went wrong with that request. Please try again.