Sha256: 1c604241c724d4845369cc1a8aa562ae84018db8166fc58d715077e1d0de12b5

Contents?: true

Size: 404 Bytes

Versions: 7

Compression:

Stored size: 404 Bytes

Contents

require 'jquery/jquery-1.8.3'
require 'opal-rspec'
require 'opal/jquery'
require 'opal/jquery/rspec'

module JQueryTestHelpers
  def find(selector)
    Element.find selector
  end
end

module SkipAsync
  def async(*args, &block)
    xit(*args, &block)
  end
end

RSpec.configure do |config|
  config.include JQueryTestHelpers
  config.extend SkipAsync
  config.formatter = :doc
  config.color = true
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
opal-jquery-0.5.2 spec-opal/spec_helper.rb
opal-jquery-0.5.1 spec-opal/spec_helper.rb
opal-jquery-0.5.0 spec-opal/spec_helper.rb
opal-jquery-0.4.6 spec-opal/spec_helper.rb
opal-jquery-0.4.5 spec-opal/spec_helper.rb
opal-jquery-0.4.4 spec-opal/spec_helper.rb
opal-jquery-0.4.3 spec-opal/spec_helper.rb