mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
add redjs suite at v0.6.0
This commit is contained in:
parent
823bb56735
commit
cd7d5e7b94
3 changed files with 16 additions and 3 deletions
1
Gemfile
1
Gemfile
|
@ -1,2 +1,3 @@
|
|||
source 'http://rubygems.org'
|
||||
gemspec
|
||||
gem 'redjs', :git => 'git://github.com/cowboyd/redjs.git', :tag => "v0.6.0", :group => :test
|
5
Rakefile
5
Rakefile
|
@ -18,6 +18,9 @@ Rake::ExtensionTask.new("v8", eval(File.read("therubyracer.gemspec"))) do |ext|
|
|||
ext.source_pattern = "*.{cpp,h}"
|
||||
end
|
||||
|
||||
RSpec::Core::RakeTask.new(:spec)
|
||||
RSpec::Core::RakeTask.new(:spec) do |spec|
|
||||
spec.rspec_opts = ['--color', "--format documentation"]
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
|
9
spec/redjs_spec.rb
Normal file
9
spec/redjs_spec.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
require 'spec_helper'
|
||||
require 'redjs/load_specs'
|
||||
module RedJS
|
||||
Context = V8::Context
|
||||
Error = V8::JSError
|
||||
end
|
||||
describe V8::Context do
|
||||
it_behaves_like 'RedJS::Context'
|
||||
end
|
Loading…
Reference in a new issue