Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8004

Show
Ignore:
Timestamp:
10/23/07 17:41:44 (2 years ago)
Author:
sam
Message:

prototype: Fix the test runner for Firefox in Leopard.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • spinoffs/prototype/trunk/CHANGELOG

    r7994 r8004  
    11*SVN* 
     2 
     3* Fix the test runner for Firefox in Leopard.  [sam] 
    24 
    35* Use String#include wherever possible. 
  • spinoffs/prototype/trunk/test/lib/jstest.rb

    r7983 r8004  
    4040 
    4141  def visit(url) 
    42     applescript('tell application "Firefox" to Get URL "' + url + '"') if macos?  
     42    system("open -a Firefox '#{url}'") if macos? 
    4343    system("#{@path} #{url}") if windows?  
    4444    system("firefox #{url}") if linux?