rwebspec 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +3 -0
- data/Rakefile +1 -1
- data/lib/rwebspec/driver.rb +3 -3
- data/lib/rwebspec.rb +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -71,7 +71,7 @@ end
|
|
71
71
|
spec = Gem::Specification.new do |s|
|
72
72
|
s.platform= Gem::Platform::RUBY
|
73
73
|
s.name = "rwebspec"
|
74
|
-
s.version = "2.0.
|
74
|
+
s.version = "2.0.2"
|
75
75
|
s.summary = "Web application functional specification in Ruby"
|
76
76
|
s.description = "Executable functional specification for web applications in RSpec syntax and Watir"
|
77
77
|
|
data/lib/rwebspec/driver.rb
CHANGED
@@ -873,14 +873,14 @@ module RWebSpec
|
|
873
873
|
normalized_file_path = file_path.gsub("/", "\\")
|
874
874
|
if $support_ie8 && check_ie_version && @ie_version >= 8
|
875
875
|
# puts "IE8"
|
876
|
-
file_field(:name,
|
876
|
+
file_field(:name, file_field_name).set(normalized_file_path)
|
877
877
|
# choose_file_dialog(normalized_file_path)
|
878
878
|
else
|
879
|
-
file_field(:name,
|
879
|
+
file_field(:name, file_field_name).set(normalized_file_path)
|
880
880
|
end
|
881
881
|
else
|
882
882
|
# for firefox, just call file_field, it may fail
|
883
|
-
file_field(:name,
|
883
|
+
file_field(:name, file_field_name).set(normalized_file_path)
|
884
884
|
end
|
885
885
|
end
|
886
886
|
|
data/lib/rwebspec.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 2
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 2.0.
|
8
|
+
- 2
|
9
|
+
version: 2.0.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Zhimin Zhan
|
@@ -14,7 +14,7 @@ autorequire: rwebspec
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-10
|
17
|
+
date: 2011-11-10 00:00:00 +10:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|