Make mechanize_session_spec pass on 1.9
This commit is contained in:
parent
6bfdcc54cc
commit
9134b09b87
|
@ -67,7 +67,7 @@ module Webrat #:nodoc:
|
|||
else
|
||||
current_path.split("/")[0..(-1 - levels_up)].join("/")
|
||||
end
|
||||
descendent = url.split("/")[levels_up..-1]
|
||||
descendent = url.split("/")[levels_up..-1].join
|
||||
"#{ancestor}/#{descendent}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue