Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of git://github.com/moneypools/funfx

  • Loading branch information...
commit 28f16b08728ac3badadb6df87a64bf39e55e2053 2 parents 424f99d + 123d074
@aslakhellesoy aslakhellesoy authored
View
4 examples/example-one/spec/spec_helper.rb
@@ -22,7 +22,7 @@ def require_watir
require 'funfx/browser/firewatir'
$browser_class = FireWatir::Firefox
else
- case PLATFORM
+ case RUBY_PLATFORM
when /darwin/
require 'funfx/browser/safariwatir'
$browser_class = Watir::Safari
@@ -35,7 +35,7 @@ def require_watir
require 'funfx/browser/firewatir'
$browser_class = FireWatir::Firefox
else
- raise "This platform is not supported (#{PLATFORM})"
+ raise "This platform is not supported (#{RUBY_PLATFORM})"
end
end
end
View
4 gem/spec/spec_helper.rb
@@ -22,7 +22,7 @@ def require_watir
require 'funfx/browser/firewatir'
$browser_class = FireWatir::Firefox
else
- case PLATFORM
+ case RUBY_PLATFORM
when /darwin/
require 'funfx/browser/safariwatir'
$browser_class = Watir::Safari
@@ -35,7 +35,7 @@ def require_watir
require 'funfx/browser/firewatir'
$browser_class = FireWatir::Firefox
else
- raise "This platform is not supported (#{PLATFORM})"
+ raise "This platform is not supported (#{RUBY_PLATFORM})"
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.