Sha256: d17c95f88a637582bbc02ad8674f32bff5d54a4112d7388be5b931429b04ed3f

Contents?: true

Size: 308 Bytes

Versions: 95

Compression:

Stored size: 308 Bytes

Contents

# -*- coding: utf-8 -*-

def poltergeist?
  /\Apoltergeist/ =~ Capybara.javascript_driver.to_s
end

def selenium?
  /\Aselenium/ =~ Capybara.javascript_driver.to_s
end

def windows?
  /windows|mingw|cygwin/i =~ RbConfig::CONFIG['arch']
end

def downloads_dir
  Pathname(Rails.root).join('tmp/downloads')
end

Version data entries

95 entries across 95 versions & 1 rubygems

Version Path
smalruby-editor-0.4.1-x86-mingw32 spec/support/capybara.rb
smalruby-editor-0.4.2-x86-mingw32 spec/support/capybara.rb
smalruby-editor-0.4.2 spec/support/capybara.rb
smalruby-editor-0.4.1 spec/support/capybara.rb
smalruby-editor-0.4.0-x86-mingw32 spec/support/capybara.rb
smalruby-editor-0.4.0 spec/support/capybara.rb
smalruby-editor-0.3.5-x86-mingw32 spec/support/capybara.rb
smalruby-editor-0.3.5 spec/support/capybara.rb
smalruby-editor-0.3.4-x86-mingw32 spec/support/capybara.rb
smalruby-editor-0.3.4 spec/support/capybara.rb
smalruby-editor-0.3.3-x86-mingw32 spec/support/capybara.rb
smalruby-editor-0.3.3 spec/support/capybara.rb
smalruby-editor-0.3.2-x86-mingw32 spec/support/capybara.rb
smalruby-editor-0.3.2 spec/support/capybara.rb
smalruby-editor-0.3.1-x86-mingw32 spec/support/capybara.rb
smalruby-editor-0.3.1 spec/support/capybara.rb
smalruby-editor-0.3.0-x86-mingw32 spec/support/capybara.rb
smalruby-editor-0.3.0 spec/support/capybara.rb
smalruby-editor-0.2.7-x86-mingw32 spec/support/capybara.rb
smalruby-editor-0.2.7 spec/support/capybara.rb