Permalink
Browse files

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

  • Loading branch information...
aslakhellesoy committed Dec 15, 2008
2 parents 424f99d + 123d074 commit 28f16b08728ac3badadb6df87a64bf39e55e2053
Showing with 4 additions and 4 deletions.
  1. +2 −2 examples/example-one/spec/spec_helper.rb
  2. +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
View
@@ -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

Please sign in to comment.