update rspec to 2.14

This commit is contained in:
kares 2014-02-20 20:38:45 +01:00
parent cac2b9512a
commit 79192c63a7
6 changed files with 6 additions and 5 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ doc
.rvmrc
.bundle
Gemfile.lock
spec/deprecations.log

1
.rspec Normal file
View File

@ -0,0 +1 @@
--color --format documentation

View File

@ -61,7 +61,7 @@ Rhino::Context.open do |context|
end
```
* make a Ruby object *be* your JavaScript environment
* make a Ruby object be your JavaScript environment
```ruby
math = MyMath.new
Rhino::Context.open(:with => math) do |context|

View File

@ -1,9 +1,7 @@
require 'bundler/setup'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new do |spec|
spec.rspec_opts = ['--color', "--format documentation"]
end
RSpec::Core::RakeTask.new
task :default => :spec

View File

@ -35,4 +35,5 @@ end
RSpec.configure do |config|
config.filter_run_excluding :compat => /(0.5.0)|(0.6.0)/ # RedJS
config.include Rhino::SpecHelpers
config.deprecation_stream = 'spec/deprecations.log'
end

View File

@ -20,6 +20,6 @@ Gem::Specification.new do |s|
s.add_dependency "therubyrhino_jar", '>= 1.7.3'
s.add_development_dependency "rspec", "~> 2.13.0"
s.add_development_dependency "rspec", "~> 2.14.1"
s.add_development_dependency "mocha", "~> 0.13.3"
end