webrat 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +10 -0
- data/lib/webrat.rb +1 -1
- data/lib/webrat/selenium/location_strategy_javascript/webratlinkwithin.js +1 -1
- data/webrat.gemspec +2 -2
- metadata +4 -4
data/History.txt
CHANGED
data/lib/webrat.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
var locatorParts = locator.split('|');
|
2
2
|
var cssAncestor = locatorParts[0];
|
3
3
|
var linkText = locatorParts[1];
|
4
|
-
var matchingElements =
|
4
|
+
var matchingElements = eval_css(cssAncestor, inDocument);
|
5
5
|
var candidateLinks = matchingElements.collect(function(ancestor){
|
6
6
|
var links = ancestor.getElementsByTagName('a');
|
7
7
|
return $A(links).select(function(candidateLink) {
|
data/webrat.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{webrat}
|
5
|
-
s.version = "0.7.
|
5
|
+
s.version = "0.7.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Bryan Helmkamp"]
|
9
|
-
s.date = %q{
|
9
|
+
s.date = %q{2011-01-01}
|
10
10
|
s.description = %q{Webrat lets you quickly write expressive and robust acceptance tests
|
11
11
|
for a Ruby web application. It supports simulating a browser inside
|
12
12
|
a Ruby process to avoid the performance hit and browser dependency of
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webrat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 0.7.
|
9
|
+
- 3
|
10
|
+
version: 0.7.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Bryan Helmkamp
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-01-01 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|