diff options
author | Nicholas Seckar <nseckar@gmail.com> | 2006-10-09 22:54:53 +0000 |
---|---|---|
committer | Nicholas Seckar <nseckar@gmail.com> | 2006-10-09 22:54:53 +0000 |
commit | bbcd508d64e909bff0cd8d969f906e666f87d648 (patch) | |
tree | e8ef6230ac2fa908de5772a934733ff69257df31 /actionpack | |
parent | b0e78c62783b27a98a324557bf9f3f6385bce315 (diff) | |
download | rails-bbcd508d64e909bff0cd8d969f906e666f87d648.tar.gz rails-bbcd508d64e909bff0cd8d969f906e666f87d648.tar.bz2 rails-bbcd508d64e909bff0cd8d969f906e666f87d648.zip |
Fix typo
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5278 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/assertions/selector_assertions.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/assertions/selector_assertions.rb b/actionpack/lib/action_controller/assertions/selector_assertions.rb index 8278f17137..a5267e20e8 100644 --- a/actionpack/lib/action_controller/assertions/selector_assertions.rb +++ b/actionpack/lib/action_controller/assertions/selector_assertions.rb @@ -63,7 +63,7 @@ module ActionController root = arg arg = args.shift elsif arg == nil - 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?" + 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?" elsif @selected matches = [] @selected.each do |selected| @@ -188,7 +188,7 @@ module ActionController elsif arg == nil # This usually happens when passing a node/element that # happens to be nil. - 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?" + 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?" elsif @selected root = HTML::Node.new(nil) root.children.concat @selected |