Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opal/opal-browser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ea2edd885220
Choose a base ref
...
head repository: opal/opal-browser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6779e3e38a15
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Jan 22, 2014

  1. Copy the full SHA
    95b0e1a View commit details
  2. Copy the full SHA
    6779e3e View commit details
Showing with 3 additions and 3 deletions.
  1. +2 −2 opal/browser/socket.rb
  2. +1 −1 spec/runner.rb
4 changes: 2 additions & 2 deletions opal/browser/socket.rb
Original file line number Diff line number Diff line change
@@ -22,8 +22,8 @@ def self.supported?
# @param url [String] the URL to connect to
# @param protocol [String] the protocol to use
#
# @yield if the block has no parameters it's instance_exec'd, otherwise it's
# called with self
# @yield if the block has no parameters it's `instance_exec`d, otherwise it's
# called with `self`
def initialize(url, protocol = nil, &block)
if native?(url)
super(url)
2 changes: 1 addition & 1 deletion spec/runner.rb
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@
}

begin
Selenium::WebDriver::Wait.new(timeout: 600, interval: 1) \
Selenium::WebDriver::Wait.new(timeout: 540, interval: 1) \
.until { not browser.find_element(:css, 'p#totals').text.strip.empty? }

totals = browser.find_element(:css, 'p#totals').text