Permalink
Browse files
Merge branch 'master' of git://github.com/moneypools/funfx
- Loading branch information...
Showing
with
4 additions
and
4 deletions.
-
+2
−2
examples/example-one/spec/spec_helper.rb
-
+2
−2
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
|
|
@@ -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
|
0 comments on commit
28f16b0