Sha256: adf4f696d4cfa8543f84aab37f2c3b71c3d9f72af3d5bc24681b42e97aad7bf8

Contents?: true

Size: 144 Bytes

Versions: 5

Compression:

Stored size: 144 Bytes

Contents

module SpecHelpers
  def javascript(&block)
    Capybara.current_driver = :selenium
    yield
  ensure
    Capybara.use_default_driver
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
saasaparilla-0.2.2 spec/spec_helpers/spec_helpers.rb
saasaparilla-0.2.1 spec/spec_helpers/spec_helpers.rb
saasaparilla-0.1.8 spec/spec_helpers/spec_helpers.rb
saasaparilla-0.1.7 spec/spec_helpers/spec_helpers.rb
saasaparilla-0.1.6 spec/spec_helpers/spec_helpers.rb