sr-webrat 0.4.4.0 → 0.4.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +4 -0
- data/.gitignore +15 -0
- data/lib/webrat/core/configuration.rb +102 -0
- data/lib/webrat/core/elements/area.rb +31 -0
- data/lib/webrat/core/elements/element.rb +33 -0
- data/lib/webrat/core/elements/field.rb +405 -0
- data/lib/webrat/core/elements/form.rb +103 -0
- data/lib/webrat/core/elements/label.rb +31 -0
- data/lib/webrat/core/elements/link.rb +92 -0
- data/lib/webrat/core/elements/select_option.rb +35 -0
- data/lib/webrat/core/locators/area_locator.rb +38 -0
- data/lib/webrat/core/locators/button_locator.rb +54 -0
- data/lib/webrat/core/locators/field_by_id_locator.rb +37 -0
- data/lib/webrat/core/locators/field_labeled_locator.rb +56 -0
- data/lib/webrat/core/locators/field_locator.rb +25 -0
- data/lib/webrat/core/locators/field_named_locator.rb +41 -0
- data/lib/webrat/core/locators/form_locator.rb +19 -0
- data/lib/webrat/core/locators/label_locator.rb +34 -0
- data/lib/webrat/core/locators/link_locator.rb +66 -0
- data/lib/webrat/core/locators/locator.rb +20 -0
- data/lib/webrat/core/locators/select_option_locator.rb +59 -0
- data/lib/webrat/core/locators.rb +20 -0
- data/lib/webrat/core/logging.rb +24 -0
- data/lib/webrat/core/matchers/have_content.rb +73 -0
- data/lib/webrat/core/matchers/have_selector.rb +74 -0
- data/lib/webrat/core/matchers/have_tag.rb +21 -0
- data/lib/webrat/core/matchers/have_xpath.rb +147 -0
- data/lib/webrat/core/matchers.rb +4 -0
- data/lib/webrat/core/methods.rb +63 -0
- data/lib/webrat/core/mime.rb +29 -0
- data/lib/webrat/core/save_and_open_page.rb +50 -0
- data/lib/webrat/core/scope.rb +350 -0
- data/lib/webrat/core/session.rb +289 -0
- data/lib/webrat/core/xml/hpricot.rb +19 -0
- data/lib/webrat/core/xml/nokogiri.rb +76 -0
- data/lib/webrat/core/xml/rexml.rb +24 -0
- data/lib/webrat/core/xml.rb +115 -0
- data/lib/webrat/core.rb +14 -0
- data/lib/webrat/core_extensions/blank.rb +58 -0
- data/lib/webrat/core_extensions/deprecate.rb +8 -0
- data/lib/webrat/core_extensions/detect_mapped.rb +12 -0
- data/lib/webrat/core_extensions/meta_class.rb +6 -0
- data/lib/webrat/core_extensions/nil_to_param.rb +5 -0
- data/lib/webrat/core_extensions/tcp_socket.rb +27 -0
- data/lib/webrat/mechanize.rb +74 -0
- data/lib/webrat/merb.rb +9 -0
- data/lib/webrat/merb_session.rb +65 -0
- data/lib/webrat/rack.rb +24 -0
- data/lib/webrat/rack_test.rb +36 -0
- data/lib/webrat/rails.rb +105 -0
- data/lib/webrat/rspec-rails.rb +13 -0
- data/lib/webrat/selenium/application_server.rb +73 -0
- data/lib/webrat/selenium/location_strategy_javascript/button.js +19 -0
- data/lib/webrat/selenium/location_strategy_javascript/label.js +16 -0
- data/lib/webrat/selenium/location_strategy_javascript/webrat.js +5 -0
- data/lib/webrat/selenium/location_strategy_javascript/webratlink.js +9 -0
- data/lib/webrat/selenium/location_strategy_javascript/webratlinkwithin.js +15 -0
- data/lib/webrat/selenium/location_strategy_javascript/webratselectwithoption.js +5 -0
- data/lib/webrat/selenium/matchers/have_content.rb +66 -0
- data/lib/webrat/selenium/matchers/have_selector.rb +49 -0
- data/lib/webrat/selenium/matchers/have_tag.rb +72 -0
- data/lib/webrat/selenium/matchers/have_xpath.rb +45 -0
- data/lib/webrat/selenium/matchers.rb +4 -0
- data/lib/webrat/selenium/merb_application_server.rb +48 -0
- data/lib/webrat/selenium/rails_application_server.rb +42 -0
- data/lib/webrat/selenium/selenium_extensions.js +6 -0
- data/lib/webrat/selenium/selenium_rc_server.rb +84 -0
- data/lib/webrat/selenium/selenium_session.rb +237 -0
- data/lib/webrat/selenium/silence_stream.rb +18 -0
- data/lib/webrat/selenium/sinatra_application_server.rb +35 -0
- data/lib/webrat/selenium.rb +81 -0
- data/lib/webrat/sinatra.rb +44 -0
- data/lib/webrat.rb +31 -0
- data/spec/fakes/test_session.rb +34 -0
- data/spec/integration/merb/.gitignore +21 -0
- data/spec/integration/merb/Rakefile +35 -0
- data/spec/integration/merb/app/controllers/application.rb +2 -0
- data/spec/integration/merb/app/controllers/exceptions.rb +13 -0
- data/spec/integration/merb/app/controllers/testing.rb +18 -0
- data/spec/integration/merb/app/views/exceptions/not_acceptable.html.erb +63 -0
- data/spec/integration/merb/app/views/exceptions/not_found.html.erb +47 -0
- data/spec/integration/merb/app/views/layout/application.html.erb +12 -0
- data/spec/integration/merb/app/views/testing/show_form.html.erb +27 -0
- data/spec/integration/merb/config/environments/development.rb +15 -0
- data/spec/integration/merb/config/environments/rake.rb +11 -0
- data/spec/integration/merb/config/environments/test.rb +14 -0
- data/spec/integration/merb/config/init.rb +25 -0
- data/spec/integration/merb/config/rack.rb +11 -0
- data/spec/integration/merb/config/router.rb +33 -0
- data/spec/integration/merb/spec/spec.opts +1 -0
- data/spec/integration/merb/spec/spec_helper.rb +24 -0
- data/spec/integration/merb/spec/webrat_spec.rb +32 -0
- data/spec/integration/merb/tasks/merb.thor/app_script.rb +31 -0
- data/spec/integration/merb/tasks/merb.thor/common.rb +64 -0
- data/spec/integration/merb/tasks/merb.thor/gem_ext.rb +124 -0
- data/spec/integration/merb/tasks/merb.thor/main.thor +150 -0
- data/spec/integration/merb/tasks/merb.thor/ops.rb +93 -0
- data/spec/integration/merb/tasks/merb.thor/utils.rb +40 -0
- data/spec/integration/rack/Rakefile +5 -0
- data/spec/integration/rack/rack_app.rb +66 -0
- data/spec/integration/rack/test/test_helper.rb +23 -0
- data/spec/integration/rack/test/webrat_rack_test.rb +41 -0
- data/spec/integration/rails/.gitignore +3 -0
- data/spec/integration/rails/Rakefile +30 -0
- data/spec/integration/rails/app/controllers/application.rb +15 -0
- data/spec/integration/rails/app/controllers/webrat_controller.rb +42 -0
- data/spec/integration/rails/app/views/webrat/before_redirect_form.html.erb +4 -0
- data/spec/integration/rails/app/views/webrat/buttons.html.erb +11 -0
- data/spec/integration/rails/app/views/webrat/form.html.erb +28 -0
- data/spec/integration/rails/config/boot.rb +109 -0
- data/spec/integration/rails/config/environment.rb +12 -0
- data/spec/integration/rails/config/environments/development.rb +17 -0
- data/spec/integration/rails/config/environments/selenium.rb +22 -0
- data/spec/integration/rails/config/environments/test.rb +22 -0
- data/spec/integration/rails/config/initializers/inflections.rb +10 -0
- data/spec/integration/rails/config/initializers/mime_types.rb +5 -0
- data/spec/integration/rails/config/initializers/new_rails_defaults.rb +17 -0
- data/spec/integration/rails/config/locales/en.yml +5 -0
- data/spec/integration/rails/config/routes.rb +15 -0
- data/spec/integration/rails/public/404.html +30 -0
- data/spec/integration/rails/public/422.html +30 -0
- data/spec/integration/rails/public/500.html +33 -0
- data/spec/integration/rails/script/about +4 -0
- data/spec/integration/rails/script/console +3 -0
- data/spec/integration/rails/script/dbconsole +3 -0
- data/spec/integration/rails/script/destroy +3 -0
- data/spec/integration/rails/script/generate +3 -0
- data/spec/integration/rails/script/performance/benchmarker +3 -0
- data/spec/integration/rails/script/performance/profiler +3 -0
- data/spec/integration/rails/script/performance/request +3 -0
- data/spec/integration/rails/script/plugin +3 -0
- data/spec/integration/rails/script/process/inspector +3 -0
- data/spec/integration/rails/script/process/reaper +3 -0
- data/spec/integration/rails/script/process/spawner +3 -0
- data/spec/integration/rails/script/runner +3 -0
- data/spec/integration/rails/script/server +3 -0
- data/spec/integration/rails/test/integration/button_click_test.rb +80 -0
- data/spec/integration/rails/test/integration/webrat_test.rb +87 -0
- data/spec/integration/rails/test/test_helper.rb +25 -0
- data/spec/integration/sinatra/Rakefile +5 -0
- data/spec/integration/sinatra/classic_app.rb +64 -0
- data/spec/integration/sinatra/modular_app.rb +16 -0
- data/spec/integration/sinatra/test/classic_app_test.rb +37 -0
- data/spec/integration/sinatra/test/modular_app_test.rb +18 -0
- data/spec/integration/sinatra/test/test_helper.rb +16 -0
- data/spec/private/core/configuration_spec.rb +106 -0
- data/spec/private/core/field_spec.rb +85 -0
- data/spec/private/core/link_spec.rb +24 -0
- data/spec/private/core/logging_spec.rb +10 -0
- data/spec/private/core/session_spec.rb +198 -0
- data/spec/private/mechanize/mechanize_session_spec.rb +81 -0
- data/spec/private/merb/merb_session_spec.rb +42 -0
- data/spec/private/nokogiri_spec.rb +77 -0
- data/spec/private/rails/attaches_file_spec.rb +81 -0
- data/spec/private/rails/rails_session_spec.rb +110 -0
- data/spec/public/basic_auth_spec.rb +24 -0
- data/spec/public/check_spec.rb +191 -0
- data/spec/public/choose_spec.rb +118 -0
- data/spec/public/click_area_spec.rb +106 -0
- data/spec/public/click_button_spec.rb +496 -0
- data/spec/public/click_link_spec.rb +511 -0
- data/spec/public/fill_in_spec.rb +209 -0
- data/spec/public/locators/field_by_xpath_spec.rb +19 -0
- data/spec/public/locators/field_labeled_spec.rb +172 -0
- data/spec/public/locators/field_with_id_spec.rb +16 -0
- data/spec/public/matchers/contain_spec.rb +114 -0
- data/spec/public/matchers/have_selector_spec.rb +135 -0
- data/spec/public/matchers/have_tag_spec.rb +39 -0
- data/spec/public/matchers/have_xpath_spec.rb +123 -0
- data/spec/public/reload_spec.rb +10 -0
- data/spec/public/save_and_open_spec.rb +51 -0
- data/spec/public/select_date_spec.rb +112 -0
- data/spec/public/select_datetime_spec.rb +137 -0
- data/spec/public/select_spec.rb +249 -0
- data/spec/public/select_time_spec.rb +100 -0
- data/spec/public/set_hidden_field_spec.rb +5 -0
- data/spec/public/submit_form_spec.rb +5 -0
- data/spec/public/visit_spec.rb +58 -0
- data/spec/public/within_spec.rb +177 -0
- data/spec/rcov.opts +1 -0
- data/spec/spec.opts +2 -0
- data/spec/spec_helper.rb +50 -0
- data/vendor/selenium-server.jar +0 -0
- data/webrat.gemspec +214 -0
- metadata +186 -2
data/webrat.gemspec
ADDED
@@ -0,0 +1,214 @@
|
|
1
|
+
spec = Gem::Specification.new do |s|
|
2
|
+
s.name = "webrat"
|
3
|
+
s.version = "0.4.4.1"
|
4
|
+
s.platform = Gem::Platform::RUBY
|
5
|
+
s.author = "Bryan Helmkamp"
|
6
|
+
s.email = "bryan" + "@" + "brynary.com"
|
7
|
+
s.homepage = "http://github.com/brynary/webrat"
|
8
|
+
s.summary = "Webrat. Ruby Acceptance Testing for Web applications"
|
9
|
+
s.bindir = "bin"
|
10
|
+
s.description = s.summary
|
11
|
+
s.require_path = "lib"
|
12
|
+
s.files = %w(History.txt install.rb MIT-LICENSE.txt README.rdoc Rakefile) + Dir["lib/**/*"] + Dir["vendor/**/*"]
|
13
|
+
|
14
|
+
# rdoc
|
15
|
+
s.has_rdoc = true
|
16
|
+
s.extra_rdoc_files = %w(README.rdoc MIT-LICENSE.txt)
|
17
|
+
|
18
|
+
# Dependencies
|
19
|
+
s.add_dependency "nokogiri", ">= 1.2.0"
|
20
|
+
|
21
|
+
s.rubyforge_project = "webrat"
|
22
|
+
|
23
|
+
s.files = %w[
|
24
|
+
.document
|
25
|
+
.gitignore
|
26
|
+
History.txt
|
27
|
+
MIT-LICENSE.txt
|
28
|
+
README.rdoc
|
29
|
+
Rakefile
|
30
|
+
install.rb
|
31
|
+
lib/webrat.rb
|
32
|
+
lib/webrat/core.rb
|
33
|
+
lib/webrat/core/configuration.rb
|
34
|
+
lib/webrat/core/elements/area.rb
|
35
|
+
lib/webrat/core/elements/element.rb
|
36
|
+
lib/webrat/core/elements/field.rb
|
37
|
+
lib/webrat/core/elements/form.rb
|
38
|
+
lib/webrat/core/elements/label.rb
|
39
|
+
lib/webrat/core/elements/link.rb
|
40
|
+
lib/webrat/core/elements/select_option.rb
|
41
|
+
lib/webrat/core/locators.rb
|
42
|
+
lib/webrat/core/locators/area_locator.rb
|
43
|
+
lib/webrat/core/locators/button_locator.rb
|
44
|
+
lib/webrat/core/locators/field_by_id_locator.rb
|
45
|
+
lib/webrat/core/locators/field_labeled_locator.rb
|
46
|
+
lib/webrat/core/locators/field_locator.rb
|
47
|
+
lib/webrat/core/locators/field_named_locator.rb
|
48
|
+
lib/webrat/core/locators/form_locator.rb
|
49
|
+
lib/webrat/core/locators/label_locator.rb
|
50
|
+
lib/webrat/core/locators/link_locator.rb
|
51
|
+
lib/webrat/core/locators/locator.rb
|
52
|
+
lib/webrat/core/locators/select_option_locator.rb
|
53
|
+
lib/webrat/core/logging.rb
|
54
|
+
lib/webrat/core/matchers.rb
|
55
|
+
lib/webrat/core/matchers/have_content.rb
|
56
|
+
lib/webrat/core/matchers/have_selector.rb
|
57
|
+
lib/webrat/core/matchers/have_tag.rb
|
58
|
+
lib/webrat/core/matchers/have_xpath.rb
|
59
|
+
lib/webrat/core/methods.rb
|
60
|
+
lib/webrat/core/mime.rb
|
61
|
+
lib/webrat/core/save_and_open_page.rb
|
62
|
+
lib/webrat/core/scope.rb
|
63
|
+
lib/webrat/core/session.rb
|
64
|
+
lib/webrat/core/xml.rb
|
65
|
+
lib/webrat/core/xml/hpricot.rb
|
66
|
+
lib/webrat/core/xml/nokogiri.rb
|
67
|
+
lib/webrat/core/xml/rexml.rb
|
68
|
+
lib/webrat/core_extensions/blank.rb
|
69
|
+
lib/webrat/core_extensions/deprecate.rb
|
70
|
+
lib/webrat/core_extensions/detect_mapped.rb
|
71
|
+
lib/webrat/core_extensions/meta_class.rb
|
72
|
+
lib/webrat/core_extensions/nil_to_param.rb
|
73
|
+
lib/webrat/core_extensions/tcp_socket.rb
|
74
|
+
lib/webrat/mechanize.rb
|
75
|
+
lib/webrat/merb.rb
|
76
|
+
lib/webrat/merb_session.rb
|
77
|
+
lib/webrat/rack.rb
|
78
|
+
lib/webrat/rack_test.rb
|
79
|
+
lib/webrat/rails.rb
|
80
|
+
lib/webrat/rspec-rails.rb
|
81
|
+
lib/webrat/selenium.rb
|
82
|
+
lib/webrat/selenium/application_server.rb
|
83
|
+
lib/webrat/selenium/location_strategy_javascript/button.js
|
84
|
+
lib/webrat/selenium/location_strategy_javascript/label.js
|
85
|
+
lib/webrat/selenium/location_strategy_javascript/webrat.js
|
86
|
+
lib/webrat/selenium/location_strategy_javascript/webratlink.js
|
87
|
+
lib/webrat/selenium/location_strategy_javascript/webratlinkwithin.js
|
88
|
+
lib/webrat/selenium/location_strategy_javascript/webratselectwithoption.js
|
89
|
+
lib/webrat/selenium/matchers.rb
|
90
|
+
lib/webrat/selenium/matchers/have_content.rb
|
91
|
+
lib/webrat/selenium/matchers/have_selector.rb
|
92
|
+
lib/webrat/selenium/matchers/have_tag.rb
|
93
|
+
lib/webrat/selenium/matchers/have_xpath.rb
|
94
|
+
lib/webrat/selenium/merb_application_server.rb
|
95
|
+
lib/webrat/selenium/rails_application_server.rb
|
96
|
+
lib/webrat/selenium/selenium_extensions.js
|
97
|
+
lib/webrat/selenium/selenium_rc_server.rb
|
98
|
+
lib/webrat/selenium/selenium_session.rb
|
99
|
+
lib/webrat/selenium/silence_stream.rb
|
100
|
+
lib/webrat/selenium/sinatra_application_server.rb
|
101
|
+
lib/webrat/sinatra.rb
|
102
|
+
spec/fakes/test_session.rb
|
103
|
+
spec/integration/merb/.gitignore
|
104
|
+
spec/integration/merb/Rakefile
|
105
|
+
spec/integration/merb/app/controllers/application.rb
|
106
|
+
spec/integration/merb/app/controllers/exceptions.rb
|
107
|
+
spec/integration/merb/app/controllers/testing.rb
|
108
|
+
spec/integration/merb/app/views/exceptions/not_acceptable.html.erb
|
109
|
+
spec/integration/merb/app/views/exceptions/not_found.html.erb
|
110
|
+
spec/integration/merb/app/views/layout/application.html.erb
|
111
|
+
spec/integration/merb/app/views/testing/show_form.html.erb
|
112
|
+
spec/integration/merb/config/environments/development.rb
|
113
|
+
spec/integration/merb/config/environments/rake.rb
|
114
|
+
spec/integration/merb/config/environments/test.rb
|
115
|
+
spec/integration/merb/config/init.rb
|
116
|
+
spec/integration/merb/config/rack.rb
|
117
|
+
spec/integration/merb/config/router.rb
|
118
|
+
spec/integration/merb/spec/spec.opts
|
119
|
+
spec/integration/merb/spec/spec_helper.rb
|
120
|
+
spec/integration/merb/spec/webrat_spec.rb
|
121
|
+
spec/integration/merb/tasks/merb.thor/app_script.rb
|
122
|
+
spec/integration/merb/tasks/merb.thor/common.rb
|
123
|
+
spec/integration/merb/tasks/merb.thor/gem_ext.rb
|
124
|
+
spec/integration/merb/tasks/merb.thor/main.thor
|
125
|
+
spec/integration/merb/tasks/merb.thor/ops.rb
|
126
|
+
spec/integration/merb/tasks/merb.thor/utils.rb
|
127
|
+
spec/integration/rack/Rakefile
|
128
|
+
spec/integration/rack/rack_app.rb
|
129
|
+
spec/integration/rack/test/test_helper.rb
|
130
|
+
spec/integration/rack/test/webrat_rack_test.rb
|
131
|
+
spec/integration/rails/.gitignore
|
132
|
+
spec/integration/rails/Rakefile
|
133
|
+
spec/integration/rails/app/controllers/application.rb
|
134
|
+
spec/integration/rails/app/controllers/webrat_controller.rb
|
135
|
+
spec/integration/rails/app/views/webrat/before_redirect_form.html.erb
|
136
|
+
spec/integration/rails/app/views/webrat/buttons.html.erb
|
137
|
+
spec/integration/rails/app/views/webrat/form.html.erb
|
138
|
+
spec/integration/rails/config/boot.rb
|
139
|
+
spec/integration/rails/config/environment.rb
|
140
|
+
spec/integration/rails/config/environments/development.rb
|
141
|
+
spec/integration/rails/config/environments/selenium.rb
|
142
|
+
spec/integration/rails/config/environments/test.rb
|
143
|
+
spec/integration/rails/config/initializers/inflections.rb
|
144
|
+
spec/integration/rails/config/initializers/mime_types.rb
|
145
|
+
spec/integration/rails/config/initializers/new_rails_defaults.rb
|
146
|
+
spec/integration/rails/config/locales/en.yml
|
147
|
+
spec/integration/rails/config/routes.rb
|
148
|
+
spec/integration/rails/public/404.html
|
149
|
+
spec/integration/rails/public/422.html
|
150
|
+
spec/integration/rails/public/500.html
|
151
|
+
spec/integration/rails/script/about
|
152
|
+
spec/integration/rails/script/console
|
153
|
+
spec/integration/rails/script/dbconsole
|
154
|
+
spec/integration/rails/script/destroy
|
155
|
+
spec/integration/rails/script/generate
|
156
|
+
spec/integration/rails/script/performance/benchmarker
|
157
|
+
spec/integration/rails/script/performance/profiler
|
158
|
+
spec/integration/rails/script/performance/request
|
159
|
+
spec/integration/rails/script/plugin
|
160
|
+
spec/integration/rails/script/process/inspector
|
161
|
+
spec/integration/rails/script/process/reaper
|
162
|
+
spec/integration/rails/script/process/spawner
|
163
|
+
spec/integration/rails/script/runner
|
164
|
+
spec/integration/rails/script/server
|
165
|
+
spec/integration/rails/test/integration/button_click_test.rb
|
166
|
+
spec/integration/rails/test/integration/webrat_test.rb
|
167
|
+
spec/integration/rails/test/test_helper.rb
|
168
|
+
spec/integration/sinatra/Rakefile
|
169
|
+
spec/integration/sinatra/classic_app.rb
|
170
|
+
spec/integration/sinatra/modular_app.rb
|
171
|
+
spec/integration/sinatra/test/classic_app_test.rb
|
172
|
+
spec/integration/sinatra/test/modular_app_test.rb
|
173
|
+
spec/integration/sinatra/test/test_helper.rb
|
174
|
+
spec/private/core/configuration_spec.rb
|
175
|
+
spec/private/core/field_spec.rb
|
176
|
+
spec/private/core/link_spec.rb
|
177
|
+
spec/private/core/logging_spec.rb
|
178
|
+
spec/private/core/session_spec.rb
|
179
|
+
spec/private/mechanize/mechanize_session_spec.rb
|
180
|
+
spec/private/merb/merb_session_spec.rb
|
181
|
+
spec/private/nokogiri_spec.rb
|
182
|
+
spec/private/rails/attaches_file_spec.rb
|
183
|
+
spec/private/rails/rails_session_spec.rb
|
184
|
+
spec/public/basic_auth_spec.rb
|
185
|
+
spec/public/check_spec.rb
|
186
|
+
spec/public/choose_spec.rb
|
187
|
+
spec/public/click_area_spec.rb
|
188
|
+
spec/public/click_button_spec.rb
|
189
|
+
spec/public/click_link_spec.rb
|
190
|
+
spec/public/fill_in_spec.rb
|
191
|
+
spec/public/locators/field_by_xpath_spec.rb
|
192
|
+
spec/public/locators/field_labeled_spec.rb
|
193
|
+
spec/public/locators/field_with_id_spec.rb
|
194
|
+
spec/public/matchers/contain_spec.rb
|
195
|
+
spec/public/matchers/have_selector_spec.rb
|
196
|
+
spec/public/matchers/have_tag_spec.rb
|
197
|
+
spec/public/matchers/have_xpath_spec.rb
|
198
|
+
spec/public/reload_spec.rb
|
199
|
+
spec/public/save_and_open_spec.rb
|
200
|
+
spec/public/select_date_spec.rb
|
201
|
+
spec/public/select_datetime_spec.rb
|
202
|
+
spec/public/select_spec.rb
|
203
|
+
spec/public/select_time_spec.rb
|
204
|
+
spec/public/set_hidden_field_spec.rb
|
205
|
+
spec/public/submit_form_spec.rb
|
206
|
+
spec/public/visit_spec.rb
|
207
|
+
spec/public/within_spec.rb
|
208
|
+
spec/rcov.opts
|
209
|
+
spec/spec.opts
|
210
|
+
spec/spec_helper.rb
|
211
|
+
vendor/selenium-server.jar
|
212
|
+
webrat.gemspec
|
213
|
+
]
|
214
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sr-webrat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.4.
|
4
|
+
version: 0.4.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryan Helmkamp
|
@@ -32,11 +32,195 @@ extra_rdoc_files:
|
|
32
32
|
- README.rdoc
|
33
33
|
- MIT-LICENSE.txt
|
34
34
|
files:
|
35
|
+
- .document
|
36
|
+
- .gitignore
|
35
37
|
- History.txt
|
36
|
-
- install.rb
|
37
38
|
- MIT-LICENSE.txt
|
38
39
|
- README.rdoc
|
39
40
|
- Rakefile
|
41
|
+
- install.rb
|
42
|
+
- lib/webrat.rb
|
43
|
+
- lib/webrat/core.rb
|
44
|
+
- lib/webrat/core/configuration.rb
|
45
|
+
- lib/webrat/core/elements/area.rb
|
46
|
+
- lib/webrat/core/elements/element.rb
|
47
|
+
- lib/webrat/core/elements/field.rb
|
48
|
+
- lib/webrat/core/elements/form.rb
|
49
|
+
- lib/webrat/core/elements/label.rb
|
50
|
+
- lib/webrat/core/elements/link.rb
|
51
|
+
- lib/webrat/core/elements/select_option.rb
|
52
|
+
- lib/webrat/core/locators.rb
|
53
|
+
- lib/webrat/core/locators/area_locator.rb
|
54
|
+
- lib/webrat/core/locators/button_locator.rb
|
55
|
+
- lib/webrat/core/locators/field_by_id_locator.rb
|
56
|
+
- lib/webrat/core/locators/field_labeled_locator.rb
|
57
|
+
- lib/webrat/core/locators/field_locator.rb
|
58
|
+
- lib/webrat/core/locators/field_named_locator.rb
|
59
|
+
- lib/webrat/core/locators/form_locator.rb
|
60
|
+
- lib/webrat/core/locators/label_locator.rb
|
61
|
+
- lib/webrat/core/locators/link_locator.rb
|
62
|
+
- lib/webrat/core/locators/locator.rb
|
63
|
+
- lib/webrat/core/locators/select_option_locator.rb
|
64
|
+
- lib/webrat/core/logging.rb
|
65
|
+
- lib/webrat/core/matchers.rb
|
66
|
+
- lib/webrat/core/matchers/have_content.rb
|
67
|
+
- lib/webrat/core/matchers/have_selector.rb
|
68
|
+
- lib/webrat/core/matchers/have_tag.rb
|
69
|
+
- lib/webrat/core/matchers/have_xpath.rb
|
70
|
+
- lib/webrat/core/methods.rb
|
71
|
+
- lib/webrat/core/mime.rb
|
72
|
+
- lib/webrat/core/save_and_open_page.rb
|
73
|
+
- lib/webrat/core/scope.rb
|
74
|
+
- lib/webrat/core/session.rb
|
75
|
+
- lib/webrat/core/xml.rb
|
76
|
+
- lib/webrat/core/xml/hpricot.rb
|
77
|
+
- lib/webrat/core/xml/nokogiri.rb
|
78
|
+
- lib/webrat/core/xml/rexml.rb
|
79
|
+
- lib/webrat/core_extensions/blank.rb
|
80
|
+
- lib/webrat/core_extensions/deprecate.rb
|
81
|
+
- lib/webrat/core_extensions/detect_mapped.rb
|
82
|
+
- lib/webrat/core_extensions/meta_class.rb
|
83
|
+
- lib/webrat/core_extensions/nil_to_param.rb
|
84
|
+
- lib/webrat/core_extensions/tcp_socket.rb
|
85
|
+
- lib/webrat/mechanize.rb
|
86
|
+
- lib/webrat/merb.rb
|
87
|
+
- lib/webrat/merb_session.rb
|
88
|
+
- lib/webrat/rack.rb
|
89
|
+
- lib/webrat/rack_test.rb
|
90
|
+
- lib/webrat/rails.rb
|
91
|
+
- lib/webrat/rspec-rails.rb
|
92
|
+
- lib/webrat/selenium.rb
|
93
|
+
- lib/webrat/selenium/application_server.rb
|
94
|
+
- lib/webrat/selenium/location_strategy_javascript/button.js
|
95
|
+
- lib/webrat/selenium/location_strategy_javascript/label.js
|
96
|
+
- lib/webrat/selenium/location_strategy_javascript/webrat.js
|
97
|
+
- lib/webrat/selenium/location_strategy_javascript/webratlink.js
|
98
|
+
- lib/webrat/selenium/location_strategy_javascript/webratlinkwithin.js
|
99
|
+
- lib/webrat/selenium/location_strategy_javascript/webratselectwithoption.js
|
100
|
+
- lib/webrat/selenium/matchers.rb
|
101
|
+
- lib/webrat/selenium/matchers/have_content.rb
|
102
|
+
- lib/webrat/selenium/matchers/have_selector.rb
|
103
|
+
- lib/webrat/selenium/matchers/have_tag.rb
|
104
|
+
- lib/webrat/selenium/matchers/have_xpath.rb
|
105
|
+
- lib/webrat/selenium/merb_application_server.rb
|
106
|
+
- lib/webrat/selenium/rails_application_server.rb
|
107
|
+
- lib/webrat/selenium/selenium_extensions.js
|
108
|
+
- lib/webrat/selenium/selenium_rc_server.rb
|
109
|
+
- lib/webrat/selenium/selenium_session.rb
|
110
|
+
- lib/webrat/selenium/silence_stream.rb
|
111
|
+
- lib/webrat/selenium/sinatra_application_server.rb
|
112
|
+
- lib/webrat/sinatra.rb
|
113
|
+
- spec/fakes/test_session.rb
|
114
|
+
- spec/integration/merb/.gitignore
|
115
|
+
- spec/integration/merb/Rakefile
|
116
|
+
- spec/integration/merb/app/controllers/application.rb
|
117
|
+
- spec/integration/merb/app/controllers/exceptions.rb
|
118
|
+
- spec/integration/merb/app/controllers/testing.rb
|
119
|
+
- spec/integration/merb/app/views/exceptions/not_acceptable.html.erb
|
120
|
+
- spec/integration/merb/app/views/exceptions/not_found.html.erb
|
121
|
+
- spec/integration/merb/app/views/layout/application.html.erb
|
122
|
+
- spec/integration/merb/app/views/testing/show_form.html.erb
|
123
|
+
- spec/integration/merb/config/environments/development.rb
|
124
|
+
- spec/integration/merb/config/environments/rake.rb
|
125
|
+
- spec/integration/merb/config/environments/test.rb
|
126
|
+
- spec/integration/merb/config/init.rb
|
127
|
+
- spec/integration/merb/config/rack.rb
|
128
|
+
- spec/integration/merb/config/router.rb
|
129
|
+
- spec/integration/merb/spec/spec.opts
|
130
|
+
- spec/integration/merb/spec/spec_helper.rb
|
131
|
+
- spec/integration/merb/spec/webrat_spec.rb
|
132
|
+
- spec/integration/merb/tasks/merb.thor/app_script.rb
|
133
|
+
- spec/integration/merb/tasks/merb.thor/common.rb
|
134
|
+
- spec/integration/merb/tasks/merb.thor/gem_ext.rb
|
135
|
+
- spec/integration/merb/tasks/merb.thor/main.thor
|
136
|
+
- spec/integration/merb/tasks/merb.thor/ops.rb
|
137
|
+
- spec/integration/merb/tasks/merb.thor/utils.rb
|
138
|
+
- spec/integration/rack/Rakefile
|
139
|
+
- spec/integration/rack/rack_app.rb
|
140
|
+
- spec/integration/rack/test/test_helper.rb
|
141
|
+
- spec/integration/rack/test/webrat_rack_test.rb
|
142
|
+
- spec/integration/rails/.gitignore
|
143
|
+
- spec/integration/rails/Rakefile
|
144
|
+
- spec/integration/rails/app/controllers/application.rb
|
145
|
+
- spec/integration/rails/app/controllers/webrat_controller.rb
|
146
|
+
- spec/integration/rails/app/views/webrat/before_redirect_form.html.erb
|
147
|
+
- spec/integration/rails/app/views/webrat/buttons.html.erb
|
148
|
+
- spec/integration/rails/app/views/webrat/form.html.erb
|
149
|
+
- spec/integration/rails/config/boot.rb
|
150
|
+
- spec/integration/rails/config/environment.rb
|
151
|
+
- spec/integration/rails/config/environments/development.rb
|
152
|
+
- spec/integration/rails/config/environments/selenium.rb
|
153
|
+
- spec/integration/rails/config/environments/test.rb
|
154
|
+
- spec/integration/rails/config/initializers/inflections.rb
|
155
|
+
- spec/integration/rails/config/initializers/mime_types.rb
|
156
|
+
- spec/integration/rails/config/initializers/new_rails_defaults.rb
|
157
|
+
- spec/integration/rails/config/locales/en.yml
|
158
|
+
- spec/integration/rails/config/routes.rb
|
159
|
+
- spec/integration/rails/public/404.html
|
160
|
+
- spec/integration/rails/public/422.html
|
161
|
+
- spec/integration/rails/public/500.html
|
162
|
+
- spec/integration/rails/script/about
|
163
|
+
- spec/integration/rails/script/console
|
164
|
+
- spec/integration/rails/script/dbconsole
|
165
|
+
- spec/integration/rails/script/destroy
|
166
|
+
- spec/integration/rails/script/generate
|
167
|
+
- spec/integration/rails/script/performance/benchmarker
|
168
|
+
- spec/integration/rails/script/performance/profiler
|
169
|
+
- spec/integration/rails/script/performance/request
|
170
|
+
- spec/integration/rails/script/plugin
|
171
|
+
- spec/integration/rails/script/process/inspector
|
172
|
+
- spec/integration/rails/script/process/reaper
|
173
|
+
- spec/integration/rails/script/process/spawner
|
174
|
+
- spec/integration/rails/script/runner
|
175
|
+
- spec/integration/rails/script/server
|
176
|
+
- spec/integration/rails/test/integration/button_click_test.rb
|
177
|
+
- spec/integration/rails/test/integration/webrat_test.rb
|
178
|
+
- spec/integration/rails/test/test_helper.rb
|
179
|
+
- spec/integration/sinatra/Rakefile
|
180
|
+
- spec/integration/sinatra/classic_app.rb
|
181
|
+
- spec/integration/sinatra/modular_app.rb
|
182
|
+
- spec/integration/sinatra/test/classic_app_test.rb
|
183
|
+
- spec/integration/sinatra/test/modular_app_test.rb
|
184
|
+
- spec/integration/sinatra/test/test_helper.rb
|
185
|
+
- spec/private/core/configuration_spec.rb
|
186
|
+
- spec/private/core/field_spec.rb
|
187
|
+
- spec/private/core/link_spec.rb
|
188
|
+
- spec/private/core/logging_spec.rb
|
189
|
+
- spec/private/core/session_spec.rb
|
190
|
+
- spec/private/mechanize/mechanize_session_spec.rb
|
191
|
+
- spec/private/merb/merb_session_spec.rb
|
192
|
+
- spec/private/nokogiri_spec.rb
|
193
|
+
- spec/private/rails/attaches_file_spec.rb
|
194
|
+
- spec/private/rails/rails_session_spec.rb
|
195
|
+
- spec/public/basic_auth_spec.rb
|
196
|
+
- spec/public/check_spec.rb
|
197
|
+
- spec/public/choose_spec.rb
|
198
|
+
- spec/public/click_area_spec.rb
|
199
|
+
- spec/public/click_button_spec.rb
|
200
|
+
- spec/public/click_link_spec.rb
|
201
|
+
- spec/public/fill_in_spec.rb
|
202
|
+
- spec/public/locators/field_by_xpath_spec.rb
|
203
|
+
- spec/public/locators/field_labeled_spec.rb
|
204
|
+
- spec/public/locators/field_with_id_spec.rb
|
205
|
+
- spec/public/matchers/contain_spec.rb
|
206
|
+
- spec/public/matchers/have_selector_spec.rb
|
207
|
+
- spec/public/matchers/have_tag_spec.rb
|
208
|
+
- spec/public/matchers/have_xpath_spec.rb
|
209
|
+
- spec/public/reload_spec.rb
|
210
|
+
- spec/public/save_and_open_spec.rb
|
211
|
+
- spec/public/select_date_spec.rb
|
212
|
+
- spec/public/select_datetime_spec.rb
|
213
|
+
- spec/public/select_spec.rb
|
214
|
+
- spec/public/select_time_spec.rb
|
215
|
+
- spec/public/set_hidden_field_spec.rb
|
216
|
+
- spec/public/submit_form_spec.rb
|
217
|
+
- spec/public/visit_spec.rb
|
218
|
+
- spec/public/within_spec.rb
|
219
|
+
- spec/rcov.opts
|
220
|
+
- spec/spec.opts
|
221
|
+
- spec/spec_helper.rb
|
222
|
+
- vendor/selenium-server.jar
|
223
|
+
- webrat.gemspec
|
40
224
|
has_rdoc: true
|
41
225
|
homepage: http://github.com/brynary/webrat
|
42
226
|
post_install_message:
|