1
0
Fork 0
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:
Charles Lowell 2012-04-20 09:47:25 -05:00
parent 823bb56735
commit cd7d5e7b94
3 changed files with 16 additions and 3 deletions

View file

@ -1,2 +1,3 @@
source 'http://rubygems.org'
gemspec
gem 'redjs', :git => 'git://github.com/cowboyd/redjs.git', :tag => "v0.6.0", :group => :test

View file

@ -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
View 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