Sha256: 4d3b7a5254d43ae88a2a9f3c545d16ea4970d26a0c7e45e867fcd2e7f9b34239

Contents?: true

Size: 326 Bytes

Versions: 3

Compression:

Stored size: 326 Bytes

Contents

$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)

require 'rspec'
require 'mocha'
require 'mustang'

RSpec.configure do |config|
  config.mock_with :mocha
end

def debug
  require 'ruby-debug'
  debugger
end

def setup_context
  let(:cxt) { Mustang::V8::Context.new }
  before { cxt.enter }
  after { cxt.exit }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mustang-0.2.2 spec/spec_helper.rb
mustang-0.2.1 spec/spec_helper.rb
mustang-0.2.0 spec/spec_helper.rb