emipair-webrat 0.0.1 → 0.5.3
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/History.txt +34 -1
- data/Rakefile +45 -78
- data/VERSION +1 -0
- data/emipair-webrat.gemspec +354 -0
- data/lib/webrat.rb +3 -24
- data/lib/webrat/core/configuration.rb +5 -1
- data/lib/webrat/core/elements/field.rb +3 -3
- data/lib/webrat/core/logging.rb +3 -4
- data/lib/webrat/core/methods.rb +4 -4
- data/lib/webrat/core/mime.rb +11 -22
- data/lib/webrat/core/session.rb +27 -12
- data/lib/webrat/mechanize.rb +5 -1
- data/lib/webrat/{merb_session.rb → merb_adapter.rb} +4 -2
- data/lib/webrat/rack.rb +15 -14
- data/lib/webrat/rails.rb +7 -10
- data/lib/webrat/selenium.rb +0 -1
- data/lib/webrat/selenium/selenium_session.rb +8 -8
- data/lib/webrat/sinatra.rb +3 -36
- data/spec/fakes/{test_session.rb → test_adapter.rb} +6 -3
- data/spec/integration/mechanize/Rakefile +7 -0
- data/spec/integration/mechanize/config.ru +2 -0
- data/spec/integration/mechanize/sample_app.rb +20 -0
- data/spec/integration/mechanize/spec/mechanize_spec.rb +22 -0
- data/spec/integration/mechanize/spec/spec_helper.rb +27 -0
- data/spec/integration/merb/.gitignore +21 -0
- data/spec/integration/merb/Rakefile +35 -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/app/views/testing/upload.html.erb +9 -0
- data/spec/integration/merb/spec/spec.opts +1 -0
- data/spec/integration/merb/spec/spec_helper.rb +2 -0
- data/spec/integration/merb/tasks/merb.thor/main.thor +150 -0
- data/spec/integration/rack/Rakefile +5 -0
- data/spec/integration/rack/app.rb +89 -0
- data/spec/integration/rack/test/helper.rb +21 -0
- data/spec/integration/rack/test/webrat_rack_test.rb +58 -52
- data/spec/integration/rails/.gitignore +3 -0
- data/spec/integration/rails/Rakefile +30 -0
- data/spec/integration/rails/app/views/buttons/show.html.erb +11 -0
- data/spec/integration/rails/app/views/fields/show.html.erb +9 -0
- data/spec/integration/rails/app/views/links/show.html.erb +5 -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/locales/en.yml +5 -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/test_helper.rb +2 -1
- data/spec/integration/sinatra/Rakefile +5 -0
- data/spec/integration/sinatra/test/test_helper.rb +2 -1
- data/spec/private/core/configuration_spec.rb +11 -2
- data/spec/private/core/field_spec.rb +1 -1
- data/spec/private/core/link_spec.rb +1 -1
- data/spec/private/core/session_spec.rb +5 -0
- data/spec/private/mechanize/{mechanize_session_spec.rb → mechanize_adapter_spec.rb} +4 -10
- data/spec/private/merb/{merb_session_spec.rb → merb_adapter_spec.rb} +5 -5
- data/spec/private/rails/{rails_session_spec.rb → rails_adapter_spec.rb} +17 -14
- data/spec/public/matchers/contain_spec.rb +4 -4
- data/spec/public/matchers/have_selector_spec.rb +2 -2
- data/spec/public/matchers/have_xpath_spec.rb +2 -2
- data/spec/rcov.opts +1 -0
- data/spec/spec.opts +2 -0
- data/spec/spec_helper.rb +3 -1
- metadata +172 -19
- data/lib/webrat/rack_test.rb +0 -32
- data/spec/integration/rack/rack_app.rb +0 -16
- data/spec/integration/rack/test/test_helper.rb +0 -20
- data/spec/private/core/logging_spec.rb +0 -10
data/.document
ADDED
data/.gitignore
ADDED
data/History.txt
CHANGED
@@ -1,4 +1,37 @@
|
|
1
|
-
==
|
1
|
+
== Git
|
2
|
+
|
3
|
+
* Bug fixes
|
4
|
+
|
5
|
+
* Fix logger issue when running inside Cucumber (Damian Janowski)
|
6
|
+
|
7
|
+
== 0.5.3 / 2009-08-27
|
8
|
+
|
9
|
+
* Minor enhancements
|
10
|
+
|
11
|
+
* Remove unnecessary requires which are to the wrong paths on Edge Rails
|
12
|
+
|
13
|
+
== 0.5.1 / 2009-08-18
|
14
|
+
|
15
|
+
* Minor enhancements
|
16
|
+
|
17
|
+
* Base Webrat::MIME on Rack::Mime (Simon Rozet)
|
18
|
+
* Support file uploads in Rack mode (Simon Rozet)
|
19
|
+
|
20
|
+
* Bug fixes
|
21
|
+
|
22
|
+
* Fix bug in Webrat::Methods preventing Selenium mode from working [#277]
|
23
|
+
|
24
|
+
== 0.5.0 / 2009-08-12
|
25
|
+
|
26
|
+
* Major enhancements
|
27
|
+
|
28
|
+
* Depreacate :rack_test and :sinatra in favor of :rack, which uses Rack::Test (Simon Rozet)
|
29
|
+
|
30
|
+
* Minor enhancements
|
31
|
+
|
32
|
+
* Don't require rubygems at runtime (Simon Rozet)
|
33
|
+
|
34
|
+
== 0.4.5 / 2009-08-10
|
2
35
|
|
3
36
|
* Major enhancements
|
4
37
|
|
data/Rakefile
CHANGED
@@ -1,54 +1,39 @@
|
|
1
|
-
|
2
|
-
require
|
3
|
-
require 'rake/rdoctask'
|
4
|
-
require "rake/clean"
|
5
|
-
gem "rspec", "1.2.6"
|
6
|
-
require 'spec'
|
7
|
-
require 'spec/rake/spectask'
|
8
|
-
require 'spec/rake/verify_rcov'
|
9
|
-
require File.expand_path('./lib/webrat.rb')
|
10
|
-
|
11
|
-
##############################################################################
|
12
|
-
# Package && release
|
13
|
-
##############################################################################
|
14
|
-
spec = Gem::Specification.new do |s|
|
15
|
-
s.name = "webrat"
|
16
|
-
s.version = Webrat::VERSION
|
17
|
-
s.platform = Gem::Platform::RUBY
|
18
|
-
s.author = "Bryan Helmkamp"
|
19
|
-
s.email = "bryan" + "@" + "brynary.com"
|
20
|
-
s.homepage = "http://github.com/brynary/webrat"
|
21
|
-
s.summary = "Webrat. Ruby Acceptance Testing for Web applications"
|
22
|
-
s.bindir = "bin"
|
23
|
-
s.description = s.summary
|
24
|
-
s.require_path = "lib"
|
25
|
-
s.files = %w(History.txt install.rb MIT-LICENSE.txt README.rdoc Rakefile) + Dir["lib/**/*"] + Dir["vendor/**/*"]
|
26
|
-
|
27
|
-
# rdoc
|
28
|
-
s.has_rdoc = true
|
29
|
-
s.extra_rdoc_files = %w(README.rdoc MIT-LICENSE.txt)
|
30
|
-
|
31
|
-
# Dependencies
|
32
|
-
s.add_dependency "nokogiri", ">= 1.2.0"
|
33
|
-
|
34
|
-
s.rubyforge_project = "webrat"
|
35
|
-
end
|
1
|
+
begin
|
2
|
+
require 'jeweler'
|
36
3
|
|
37
|
-
|
38
|
-
|
39
|
-
|
4
|
+
Jeweler::Tasks.new do |s|
|
5
|
+
s.name = "emipair-webrat"
|
6
|
+
s.author = "Bryan Helmkamp"
|
7
|
+
s.email = "bryan" + "@" + "brynary.com"
|
8
|
+
s.homepage = "http://github.com/brynary/webrat"
|
9
|
+
s.summary = "Ruby Acceptance Testing for Web applications"
|
10
|
+
s.description = <<-EOS.strip
|
11
|
+
Webrat lets you quickly write expressive and robust acceptance tests
|
12
|
+
for a Ruby web application. It supports simulating a browser inside
|
13
|
+
a Ruby process to avoid the performance hit and browser dependency of
|
14
|
+
Selenium or Watir, but the same API can also be used to drive real
|
15
|
+
Selenium tests when necessary (eg. for testing AJAX interactions).
|
16
|
+
Most Ruby web frameworks and testing frameworks are supported.
|
17
|
+
EOS
|
18
|
+
|
19
|
+
s.rubyforge_project = "webrat"
|
20
|
+
s.extra_rdoc_files = %w[README.rdoc MIT-LICENSE.txt History.txt]
|
21
|
+
|
22
|
+
# Dependencies
|
23
|
+
s.add_dependency "nokogiri", ">= 1.2.0"
|
24
|
+
s.add_dependency "rack", ">= 1.0"
|
25
|
+
|
26
|
+
# TODO: Add development dependencies
|
27
|
+
end
|
40
28
|
|
41
|
-
|
42
|
-
|
43
|
-
puts
|
29
|
+
Jeweler::RubyforgeTasks.new
|
30
|
+
rescue LoadError
|
31
|
+
puts "Jeweler not available. Install it with: gem install jeweler"
|
44
32
|
end
|
45
33
|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
task :publish_rdoc => :docs do
|
50
|
-
sh "scp -r doc/ brynary.com:/apps/uploads/webrat"
|
51
|
-
end
|
34
|
+
# require 'spec'
|
35
|
+
require 'spec/rake/spectask'
|
36
|
+
require 'spec/rake/verify_rcov'
|
52
37
|
|
53
38
|
desc "Run API and Core specs"
|
54
39
|
Spec::Rake::SpecTask.new do |t|
|
@@ -70,22 +55,6 @@ RCov::VerifyTask.new(:verify_rcov => :rcov) do |t|
|
|
70
55
|
t.threshold = 96.2 # Make sure you have rcov 0.7 or higher!
|
71
56
|
end
|
72
57
|
|
73
|
-
desc 'Install the package as a gem.'
|
74
|
-
task :install_gem => [:clean, :package] do
|
75
|
-
gem_filename = Dir['pkg/*.gem'].first
|
76
|
-
sh "sudo gem install --no-rdoc --no-ri --local #{gem_filename}"
|
77
|
-
end
|
78
|
-
|
79
|
-
desc "Delete generated RDoc"
|
80
|
-
task :clobber_docs do
|
81
|
-
FileUtils.rm_rf("doc")
|
82
|
-
end
|
83
|
-
|
84
|
-
desc "Generate RDoc"
|
85
|
-
task :docs => :clobber_docs do
|
86
|
-
system "hanna --title 'Webrat #{Webrat::VERSION} API Documentation'"
|
87
|
-
end
|
88
|
-
|
89
58
|
desc "Run everything against multiruby"
|
90
59
|
task :multiruby do
|
91
60
|
result = system "multiruby -S rake spec"
|
@@ -144,7 +113,7 @@ end
|
|
144
113
|
|
145
114
|
namespace :spec do
|
146
115
|
desc "Run the integration specs"
|
147
|
-
task :integration => ["integration:rails", "integration:merb", "integration:sinatra", "integration:rack"]
|
116
|
+
task :integration => ["integration:rails", "integration:merb", "integration:sinatra", "integration:rack", "integration:mechanize"]
|
148
117
|
|
149
118
|
namespace :integration do
|
150
119
|
desc "Run the Rails integration specs"
|
@@ -189,26 +158,24 @@ namespace :spec do
|
|
189
158
|
raise "Rack integration tests failed" unless result
|
190
159
|
end
|
191
160
|
end
|
161
|
+
|
162
|
+
desc "Run the Mechanize integration specs"
|
163
|
+
task :mechanize do
|
164
|
+
Dir.chdir "spec/integration/mechanize" do
|
165
|
+
result = system "rake spec"
|
166
|
+
raise "Mechanize integration tests failed" unless result
|
167
|
+
end
|
168
|
+
end
|
192
169
|
end
|
193
170
|
end
|
194
171
|
|
195
|
-
task :default => :spec
|
196
|
-
|
197
172
|
desc 'Removes trailing whitespace'
|
198
173
|
task :whitespace do
|
199
174
|
sh %{find . -name '*.rb' -exec sed -i '' 's/ *$//g' {} \\;}
|
200
175
|
end
|
201
176
|
|
202
|
-
|
203
|
-
|
204
|
-
Jeweler::Tasks.new(spec) do |gemspec|
|
205
|
-
gemspec.name = "webrat"
|
206
|
-
gemspec.summary = "jeweler-ized webrat gem"
|
207
|
-
gemspec.email = "eng@emimusic.com"
|
208
|
-
gemspec.homepage = "http://github.com/emipair/webrat"
|
209
|
-
gemspec.description = "webrat gem 0.4.4 HEAD using jeweler"
|
210
|
-
gemspec.authors = ["EMI Engineering"]
|
211
|
-
end
|
212
|
-
rescue LoadError
|
213
|
-
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
177
|
+
if defined?(Jeweler)
|
178
|
+
task :spec => :check_dependencies
|
214
179
|
end
|
180
|
+
|
181
|
+
task :default => :spec
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.5.3
|
@@ -0,0 +1,354 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{emipair-webrat}
|
8
|
+
s.version = "0.5.3"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Bryan Helmkamp"]
|
12
|
+
s.date = %q{2009-08-27}
|
13
|
+
s.description = %q{Webrat lets you quickly write expressive and robust acceptance tests
|
14
|
+
for a Ruby web application. It supports simulating a browser inside
|
15
|
+
a Ruby process to avoid the performance hit and browser dependency of
|
16
|
+
Selenium or Watir, but the same API can also be used to drive real
|
17
|
+
Selenium tests when necessary (eg. for testing AJAX interactions).
|
18
|
+
Most Ruby web frameworks and testing frameworks are supported.}
|
19
|
+
s.email = %q{bryan@brynary.com}
|
20
|
+
s.extra_rdoc_files = [
|
21
|
+
"History.txt",
|
22
|
+
"MIT-LICENSE.txt",
|
23
|
+
"README.rdoc"
|
24
|
+
]
|
25
|
+
s.files = [
|
26
|
+
".document",
|
27
|
+
".gitignore",
|
28
|
+
"History.txt",
|
29
|
+
"MIT-LICENSE.txt",
|
30
|
+
"README.rdoc",
|
31
|
+
"Rakefile",
|
32
|
+
"VERSION",
|
33
|
+
"install.rb",
|
34
|
+
"lib/webrat.rb",
|
35
|
+
"lib/webrat/core.rb",
|
36
|
+
"lib/webrat/core/configuration.rb",
|
37
|
+
"lib/webrat/core/elements/area.rb",
|
38
|
+
"lib/webrat/core/elements/element.rb",
|
39
|
+
"lib/webrat/core/elements/field.rb",
|
40
|
+
"lib/webrat/core/elements/form.rb",
|
41
|
+
"lib/webrat/core/elements/label.rb",
|
42
|
+
"lib/webrat/core/elements/link.rb",
|
43
|
+
"lib/webrat/core/elements/select_option.rb",
|
44
|
+
"lib/webrat/core/locators.rb",
|
45
|
+
"lib/webrat/core/locators/area_locator.rb",
|
46
|
+
"lib/webrat/core/locators/button_locator.rb",
|
47
|
+
"lib/webrat/core/locators/field_by_id_locator.rb",
|
48
|
+
"lib/webrat/core/locators/field_labeled_locator.rb",
|
49
|
+
"lib/webrat/core/locators/field_locator.rb",
|
50
|
+
"lib/webrat/core/locators/field_named_locator.rb",
|
51
|
+
"lib/webrat/core/locators/form_locator.rb",
|
52
|
+
"lib/webrat/core/locators/label_locator.rb",
|
53
|
+
"lib/webrat/core/locators/link_locator.rb",
|
54
|
+
"lib/webrat/core/locators/locator.rb",
|
55
|
+
"lib/webrat/core/locators/select_option_locator.rb",
|
56
|
+
"lib/webrat/core/logging.rb",
|
57
|
+
"lib/webrat/core/matchers.rb",
|
58
|
+
"lib/webrat/core/matchers/have_content.rb",
|
59
|
+
"lib/webrat/core/matchers/have_selector.rb",
|
60
|
+
"lib/webrat/core/matchers/have_tag.rb",
|
61
|
+
"lib/webrat/core/matchers/have_xpath.rb",
|
62
|
+
"lib/webrat/core/methods.rb",
|
63
|
+
"lib/webrat/core/mime.rb",
|
64
|
+
"lib/webrat/core/save_and_open_page.rb",
|
65
|
+
"lib/webrat/core/scope.rb",
|
66
|
+
"lib/webrat/core/session.rb",
|
67
|
+
"lib/webrat/core/xml.rb",
|
68
|
+
"lib/webrat/core/xml/hpricot.rb",
|
69
|
+
"lib/webrat/core/xml/nokogiri.rb",
|
70
|
+
"lib/webrat/core/xml/rexml.rb",
|
71
|
+
"lib/webrat/core_extensions/blank.rb",
|
72
|
+
"lib/webrat/core_extensions/deprecate.rb",
|
73
|
+
"lib/webrat/core_extensions/detect_mapped.rb",
|
74
|
+
"lib/webrat/core_extensions/meta_class.rb",
|
75
|
+
"lib/webrat/core_extensions/nil_to_param.rb",
|
76
|
+
"lib/webrat/core_extensions/tcp_socket.rb",
|
77
|
+
"lib/webrat/mechanize.rb",
|
78
|
+
"lib/webrat/merb.rb",
|
79
|
+
"lib/webrat/merb_adapter.rb",
|
80
|
+
"lib/webrat/merb_multipart_support.rb",
|
81
|
+
"lib/webrat/rack.rb",
|
82
|
+
"lib/webrat/rails.rb",
|
83
|
+
"lib/webrat/rspec-rails.rb",
|
84
|
+
"lib/webrat/selenium.rb",
|
85
|
+
"lib/webrat/selenium/application_server_factory.rb",
|
86
|
+
"lib/webrat/selenium/application_servers.rb",
|
87
|
+
"lib/webrat/selenium/application_servers/base.rb",
|
88
|
+
"lib/webrat/selenium/application_servers/external.rb",
|
89
|
+
"lib/webrat/selenium/application_servers/merb.rb",
|
90
|
+
"lib/webrat/selenium/application_servers/rails.rb",
|
91
|
+
"lib/webrat/selenium/application_servers/sinatra.rb",
|
92
|
+
"lib/webrat/selenium/location_strategy_javascript/button.js",
|
93
|
+
"lib/webrat/selenium/location_strategy_javascript/label.js",
|
94
|
+
"lib/webrat/selenium/location_strategy_javascript/webrat.js",
|
95
|
+
"lib/webrat/selenium/location_strategy_javascript/webratlink.js",
|
96
|
+
"lib/webrat/selenium/location_strategy_javascript/webratlinkwithin.js",
|
97
|
+
"lib/webrat/selenium/location_strategy_javascript/webratselectwithoption.js",
|
98
|
+
"lib/webrat/selenium/matchers.rb",
|
99
|
+
"lib/webrat/selenium/matchers/have_content.rb",
|
100
|
+
"lib/webrat/selenium/matchers/have_selector.rb",
|
101
|
+
"lib/webrat/selenium/matchers/have_tag.rb",
|
102
|
+
"lib/webrat/selenium/matchers/have_xpath.rb",
|
103
|
+
"lib/webrat/selenium/selenium_extensions.js",
|
104
|
+
"lib/webrat/selenium/selenium_rc_server.rb",
|
105
|
+
"lib/webrat/selenium/selenium_session.rb",
|
106
|
+
"lib/webrat/selenium/silence_stream.rb",
|
107
|
+
"lib/webrat/sinatra.rb",
|
108
|
+
"spec/fakes/test_adapter.rb",
|
109
|
+
"spec/integration/mechanize/Rakefile",
|
110
|
+
"spec/integration/mechanize/config.ru",
|
111
|
+
"spec/integration/mechanize/sample_app.rb",
|
112
|
+
"spec/integration/mechanize/spec/mechanize_spec.rb",
|
113
|
+
"spec/integration/mechanize/spec/spec_helper.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/app/views/testing/upload.html.erb",
|
124
|
+
"spec/integration/merb/config/environments/development.rb",
|
125
|
+
"spec/integration/merb/config/environments/rake.rb",
|
126
|
+
"spec/integration/merb/config/environments/test.rb",
|
127
|
+
"spec/integration/merb/config/init.rb",
|
128
|
+
"spec/integration/merb/config/rack.rb",
|
129
|
+
"spec/integration/merb/config/router.rb",
|
130
|
+
"spec/integration/merb/spec/spec.opts",
|
131
|
+
"spec/integration/merb/spec/spec_helper.rb",
|
132
|
+
"spec/integration/merb/spec/webrat_spec.rb",
|
133
|
+
"spec/integration/merb/tasks/merb.thor/app_script.rb",
|
134
|
+
"spec/integration/merb/tasks/merb.thor/common.rb",
|
135
|
+
"spec/integration/merb/tasks/merb.thor/gem_ext.rb",
|
136
|
+
"spec/integration/merb/tasks/merb.thor/main.thor",
|
137
|
+
"spec/integration/merb/tasks/merb.thor/ops.rb",
|
138
|
+
"spec/integration/merb/tasks/merb.thor/utils.rb",
|
139
|
+
"spec/integration/rack/Rakefile",
|
140
|
+
"spec/integration/rack/app.rb",
|
141
|
+
"spec/integration/rack/test/helper.rb",
|
142
|
+
"spec/integration/rack/test/webrat_rack_test.rb",
|
143
|
+
"spec/integration/rails/.gitignore",
|
144
|
+
"spec/integration/rails/Rakefile",
|
145
|
+
"spec/integration/rails/app/controllers/application.rb",
|
146
|
+
"spec/integration/rails/app/controllers/buttons_controller.rb",
|
147
|
+
"spec/integration/rails/app/controllers/fields_controller.rb",
|
148
|
+
"spec/integration/rails/app/controllers/links_controller.rb",
|
149
|
+
"spec/integration/rails/app/controllers/webrat_controller.rb",
|
150
|
+
"spec/integration/rails/app/helpers/buttons_helper.rb",
|
151
|
+
"spec/integration/rails/app/helpers/fields_helper.rb",
|
152
|
+
"spec/integration/rails/app/helpers/links_helper.rb",
|
153
|
+
"spec/integration/rails/app/views/buttons/show.html.erb",
|
154
|
+
"spec/integration/rails/app/views/fields/show.html.erb",
|
155
|
+
"spec/integration/rails/app/views/links/show.html.erb",
|
156
|
+
"spec/integration/rails/app/views/webrat/before_redirect_form.html.erb",
|
157
|
+
"spec/integration/rails/app/views/webrat/buttons.html.erb",
|
158
|
+
"spec/integration/rails/app/views/webrat/form.html.erb",
|
159
|
+
"spec/integration/rails/config/boot.rb",
|
160
|
+
"spec/integration/rails/config/environment.rb",
|
161
|
+
"spec/integration/rails/config/environments/development.rb",
|
162
|
+
"spec/integration/rails/config/environments/selenium.rb",
|
163
|
+
"spec/integration/rails/config/environments/test.rb",
|
164
|
+
"spec/integration/rails/config/initializers/inflections.rb",
|
165
|
+
"spec/integration/rails/config/initializers/mime_types.rb",
|
166
|
+
"spec/integration/rails/config/initializers/new_rails_defaults.rb",
|
167
|
+
"spec/integration/rails/config/locales/en.yml",
|
168
|
+
"spec/integration/rails/config/routes.rb",
|
169
|
+
"spec/integration/rails/public/404.html",
|
170
|
+
"spec/integration/rails/public/422.html",
|
171
|
+
"spec/integration/rails/public/500.html",
|
172
|
+
"spec/integration/rails/script/about",
|
173
|
+
"spec/integration/rails/script/console",
|
174
|
+
"spec/integration/rails/script/dbconsole",
|
175
|
+
"spec/integration/rails/script/destroy",
|
176
|
+
"spec/integration/rails/script/generate",
|
177
|
+
"spec/integration/rails/script/performance/benchmarker",
|
178
|
+
"spec/integration/rails/script/performance/profiler",
|
179
|
+
"spec/integration/rails/script/performance/request",
|
180
|
+
"spec/integration/rails/script/plugin",
|
181
|
+
"spec/integration/rails/script/process/inspector",
|
182
|
+
"spec/integration/rails/script/process/reaper",
|
183
|
+
"spec/integration/rails/script/process/spawner",
|
184
|
+
"spec/integration/rails/script/runner",
|
185
|
+
"spec/integration/rails/script/server",
|
186
|
+
"spec/integration/rails/test/integration/button_click_test.rb",
|
187
|
+
"spec/integration/rails/test/integration/fill_in_test.rb",
|
188
|
+
"spec/integration/rails/test/integration/link_click_test.rb",
|
189
|
+
"spec/integration/rails/test/integration/webrat_test.rb",
|
190
|
+
"spec/integration/rails/test/test_helper.rb",
|
191
|
+
"spec/integration/sinatra/Rakefile",
|
192
|
+
"spec/integration/sinatra/classic_app.rb",
|
193
|
+
"spec/integration/sinatra/modular_app.rb",
|
194
|
+
"spec/integration/sinatra/test/classic_app_test.rb",
|
195
|
+
"spec/integration/sinatra/test/modular_app_test.rb",
|
196
|
+
"spec/integration/sinatra/test/test_helper.rb",
|
197
|
+
"spec/private/core/configuration_spec.rb",
|
198
|
+
"spec/private/core/field_spec.rb",
|
199
|
+
"spec/private/core/link_spec.rb",
|
200
|
+
"spec/private/core/session_spec.rb",
|
201
|
+
"spec/private/mechanize/mechanize_adapter_spec.rb",
|
202
|
+
"spec/private/merb/attaches_file_spec.rb",
|
203
|
+
"spec/private/merb/merb_adapter_spec.rb",
|
204
|
+
"spec/private/nokogiri_spec.rb",
|
205
|
+
"spec/private/rails/attaches_file_spec.rb",
|
206
|
+
"spec/private/rails/rails_adapter_spec.rb",
|
207
|
+
"spec/private/selenium/application_servers/rails_spec.rb",
|
208
|
+
"spec/public/basic_auth_spec.rb",
|
209
|
+
"spec/public/check_spec.rb",
|
210
|
+
"spec/public/choose_spec.rb",
|
211
|
+
"spec/public/click_area_spec.rb",
|
212
|
+
"spec/public/click_button_spec.rb",
|
213
|
+
"spec/public/click_link_spec.rb",
|
214
|
+
"spec/public/fill_in_spec.rb",
|
215
|
+
"spec/public/locators/field_by_xpath_spec.rb",
|
216
|
+
"spec/public/locators/field_labeled_spec.rb",
|
217
|
+
"spec/public/locators/field_with_id_spec.rb",
|
218
|
+
"spec/public/matchers/contain_spec.rb",
|
219
|
+
"spec/public/matchers/have_selector_spec.rb",
|
220
|
+
"spec/public/matchers/have_tag_spec.rb",
|
221
|
+
"spec/public/matchers/have_xpath_spec.rb",
|
222
|
+
"spec/public/reload_spec.rb",
|
223
|
+
"spec/public/save_and_open_spec.rb",
|
224
|
+
"spec/public/select_date_spec.rb",
|
225
|
+
"spec/public/select_datetime_spec.rb",
|
226
|
+
"spec/public/select_spec.rb",
|
227
|
+
"spec/public/select_time_spec.rb",
|
228
|
+
"spec/public/selenium/application_server_factory_spec.rb",
|
229
|
+
"spec/public/selenium/application_servers/external_spec.rb",
|
230
|
+
"spec/public/selenium/selenium_session_spec.rb",
|
231
|
+
"spec/public/set_hidden_field_spec.rb",
|
232
|
+
"spec/public/submit_form_spec.rb",
|
233
|
+
"spec/public/visit_spec.rb",
|
234
|
+
"spec/public/within_spec.rb",
|
235
|
+
"spec/rcov.opts",
|
236
|
+
"spec/spec.opts",
|
237
|
+
"spec/spec_helper.rb",
|
238
|
+
"vendor/selenium-server.jar",
|
239
|
+
"emipair-webrat.gemspec"
|
240
|
+
]
|
241
|
+
s.homepage = %q{http://github.com/brynary/webrat}
|
242
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
243
|
+
s.require_paths = ["lib"]
|
244
|
+
s.rubyforge_project = %q{webrat}
|
245
|
+
s.rubygems_version = %q{1.3.4}
|
246
|
+
s.summary = %q{Ruby Acceptance Testing for Web applications}
|
247
|
+
s.test_files = [
|
248
|
+
"spec/fakes/test_adapter.rb",
|
249
|
+
"spec/integration/mechanize/sample_app.rb",
|
250
|
+
"spec/integration/mechanize/spec/mechanize_spec.rb",
|
251
|
+
"spec/integration/mechanize/spec/spec_helper.rb",
|
252
|
+
"spec/integration/merb/app/controllers/application.rb",
|
253
|
+
"spec/integration/merb/app/controllers/exceptions.rb",
|
254
|
+
"spec/integration/merb/app/controllers/testing.rb",
|
255
|
+
"spec/integration/merb/config/environments/development.rb",
|
256
|
+
"spec/integration/merb/config/environments/rake.rb",
|
257
|
+
"spec/integration/merb/config/environments/test.rb",
|
258
|
+
"spec/integration/merb/config/init.rb",
|
259
|
+
"spec/integration/merb/config/rack.rb",
|
260
|
+
"spec/integration/merb/config/router.rb",
|
261
|
+
"spec/integration/merb/spec/spec_helper.rb",
|
262
|
+
"spec/integration/merb/spec/webrat_spec.rb",
|
263
|
+
"spec/integration/merb/tasks/merb.thor/app_script.rb",
|
264
|
+
"spec/integration/merb/tasks/merb.thor/common.rb",
|
265
|
+
"spec/integration/merb/tasks/merb.thor/gem_ext.rb",
|
266
|
+
"spec/integration/merb/tasks/merb.thor/ops.rb",
|
267
|
+
"spec/integration/merb/tasks/merb.thor/utils.rb",
|
268
|
+
"spec/integration/rack/app.rb",
|
269
|
+
"spec/integration/rack/test/helper.rb",
|
270
|
+
"spec/integration/rack/test/webrat_rack_test.rb",
|
271
|
+
"spec/integration/rails/app/controllers/application.rb",
|
272
|
+
"spec/integration/rails/app/controllers/buttons_controller.rb",
|
273
|
+
"spec/integration/rails/app/controllers/fields_controller.rb",
|
274
|
+
"spec/integration/rails/app/controllers/links_controller.rb",
|
275
|
+
"spec/integration/rails/app/controllers/webrat_controller.rb",
|
276
|
+
"spec/integration/rails/app/helpers/buttons_helper.rb",
|
277
|
+
"spec/integration/rails/app/helpers/fields_helper.rb",
|
278
|
+
"spec/integration/rails/app/helpers/links_helper.rb",
|
279
|
+
"spec/integration/rails/config/boot.rb",
|
280
|
+
"spec/integration/rails/config/environment.rb",
|
281
|
+
"spec/integration/rails/config/environments/development.rb",
|
282
|
+
"spec/integration/rails/config/environments/selenium.rb",
|
283
|
+
"spec/integration/rails/config/environments/test.rb",
|
284
|
+
"spec/integration/rails/config/initializers/inflections.rb",
|
285
|
+
"spec/integration/rails/config/initializers/mime_types.rb",
|
286
|
+
"spec/integration/rails/config/initializers/new_rails_defaults.rb",
|
287
|
+
"spec/integration/rails/config/routes.rb",
|
288
|
+
"spec/integration/rails/test/integration/button_click_test.rb",
|
289
|
+
"spec/integration/rails/test/integration/fill_in_test.rb",
|
290
|
+
"spec/integration/rails/test/integration/link_click_test.rb",
|
291
|
+
"spec/integration/rails/test/integration/webrat_test.rb",
|
292
|
+
"spec/integration/rails/test/test_helper.rb",
|
293
|
+
"spec/integration/sinatra/classic_app.rb",
|
294
|
+
"spec/integration/sinatra/modular_app.rb",
|
295
|
+
"spec/integration/sinatra/test/classic_app_test.rb",
|
296
|
+
"spec/integration/sinatra/test/modular_app_test.rb",
|
297
|
+
"spec/integration/sinatra/test/test_helper.rb",
|
298
|
+
"spec/private/core/configuration_spec.rb",
|
299
|
+
"spec/private/core/field_spec.rb",
|
300
|
+
"spec/private/core/link_spec.rb",
|
301
|
+
"spec/private/core/session_spec.rb",
|
302
|
+
"spec/private/mechanize/mechanize_adapter_spec.rb",
|
303
|
+
"spec/private/merb/attaches_file_spec.rb",
|
304
|
+
"spec/private/merb/merb_adapter_spec.rb",
|
305
|
+
"spec/private/nokogiri_spec.rb",
|
306
|
+
"spec/private/rails/attaches_file_spec.rb",
|
307
|
+
"spec/private/rails/rails_adapter_spec.rb",
|
308
|
+
"spec/private/selenium/application_servers/rails_spec.rb",
|
309
|
+
"spec/public/basic_auth_spec.rb",
|
310
|
+
"spec/public/check_spec.rb",
|
311
|
+
"spec/public/choose_spec.rb",
|
312
|
+
"spec/public/click_area_spec.rb",
|
313
|
+
"spec/public/click_button_spec.rb",
|
314
|
+
"spec/public/click_link_spec.rb",
|
315
|
+
"spec/public/fill_in_spec.rb",
|
316
|
+
"spec/public/locators/field_by_xpath_spec.rb",
|
317
|
+
"spec/public/locators/field_labeled_spec.rb",
|
318
|
+
"spec/public/locators/field_with_id_spec.rb",
|
319
|
+
"spec/public/matchers/contain_spec.rb",
|
320
|
+
"spec/public/matchers/have_selector_spec.rb",
|
321
|
+
"spec/public/matchers/have_tag_spec.rb",
|
322
|
+
"spec/public/matchers/have_xpath_spec.rb",
|
323
|
+
"spec/public/reload_spec.rb",
|
324
|
+
"spec/public/save_and_open_spec.rb",
|
325
|
+
"spec/public/select_date_spec.rb",
|
326
|
+
"spec/public/select_datetime_spec.rb",
|
327
|
+
"spec/public/select_spec.rb",
|
328
|
+
"spec/public/select_time_spec.rb",
|
329
|
+
"spec/public/selenium/application_server_factory_spec.rb",
|
330
|
+
"spec/public/selenium/application_servers/external_spec.rb",
|
331
|
+
"spec/public/selenium/selenium_session_spec.rb",
|
332
|
+
"spec/public/set_hidden_field_spec.rb",
|
333
|
+
"spec/public/submit_form_spec.rb",
|
334
|
+
"spec/public/visit_spec.rb",
|
335
|
+
"spec/public/within_spec.rb",
|
336
|
+
"spec/spec_helper.rb"
|
337
|
+
]
|
338
|
+
|
339
|
+
if s.respond_to? :specification_version then
|
340
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
341
|
+
s.specification_version = 3
|
342
|
+
|
343
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
344
|
+
s.add_runtime_dependency(%q<nokogiri>, [">= 1.2.0"])
|
345
|
+
s.add_runtime_dependency(%q<rack>, [">= 1.0"])
|
346
|
+
else
|
347
|
+
s.add_dependency(%q<nokogiri>, [">= 1.2.0"])
|
348
|
+
s.add_dependency(%q<rack>, [">= 1.0"])
|
349
|
+
end
|
350
|
+
else
|
351
|
+
s.add_dependency(%q<nokogiri>, [">= 1.2.0"])
|
352
|
+
s.add_dependency(%q<rack>, [">= 1.0"])
|
353
|
+
end
|
354
|
+
end
|