Sha256: 32e4c63c7716838f42d45ed2bde1d6a116372d459a43a30a31de50f974269ff6

Contents?: true

Size: 310 Bytes

Versions: 1

Compression:

Stored size: 310 Bytes

Contents

abort "Don't run on opal!" if RUBY_VERSION >= '1.9' and RUBY_ENGINE =~ /^opal/

require 'opal'
require 'capybara/rspec'

module Kernel
  def opal_parse str, file = '(string)'
    Opal::Grammar.new.parse str, file
  end
end

RSpec.configure do |c|
  c.treat_symbols_as_metadata_keys_with_true_values = true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opal-0.3.21 spec/spec_helper.rb