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

Changeset 5278

Show
Ignore:
Timestamp:
10/09/06 22:54:53 (2 years ago)
Author:
ulysses
Message:

Fix typo

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/assertions/selector_assertions.rb

    r5240 r5278  
    6464          arg = args.shift 
    6565        elsif arg == nil 
    66           raise ArgumentError, "First arugment is either selector or element to select, but nil found. Perhaps you called assert_select with an element that does not exist?" 
     66          raise ArgumentError, "First argument is either selector or element to select, but nil found. Perhaps you called assert_select with an element that does not exist?" 
    6767        elsif @selected 
    6868          matches = [] 
     
    189189          # This usually happens when passing a node/element that 
    190190          # happens to be nil. 
    191           raise ArgumentError, "First arugment is either selector or element to select, but nil found. Perhaps you called assert_select with an element that does not exist?" 
     191          raise ArgumentError, "First argument is either selector or element to select, but nil found. Perhaps you called assert_select with an element that does not exist?" 
    192192        elsif @selected 
    193193          root = HTML::Node.new(nil)