h13ronim-capybara 0.3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. data/History.txt +34 -0
  2. data/Manifest.txt +87 -0
  3. data/README.rdoc +405 -0
  4. data/Rakefile +29 -0
  5. data/config.ru +6 -0
  6. data/lib/capybara.rb +58 -0
  7. data/lib/capybara/cucumber.rb +32 -0
  8. data/lib/capybara/driver/base.rb +37 -0
  9. data/lib/capybara/driver/celerity_driver.rb +143 -0
  10. data/lib/capybara/driver/culerity_driver.rb +25 -0
  11. data/lib/capybara/driver/rack_test_driver.rb +250 -0
  12. data/lib/capybara/driver/selenium_driver.rb +149 -0
  13. data/lib/capybara/dsl.rb +60 -0
  14. data/lib/capybara/node.rb +60 -0
  15. data/lib/capybara/rails.rb +17 -0
  16. data/lib/capybara/save_and_open_page.rb +33 -0
  17. data/lib/capybara/searchable.rb +53 -0
  18. data/lib/capybara/server.rb +114 -0
  19. data/lib/capybara/session.rb +275 -0
  20. data/lib/capybara/wait_until.rb +23 -0
  21. data/lib/capybara/xpath.rb +176 -0
  22. data/script/console +10 -0
  23. data/script/destroy +14 -0
  24. data/script/generate +14 -0
  25. data/spec/capybara_spec.rb +18 -0
  26. data/spec/driver/celerity_driver_spec.rb +17 -0
  27. data/spec/driver/culerity_driver_spec.rb +12 -0
  28. data/spec/driver/rack_test_driver_spec.rb +11 -0
  29. data/spec/driver/remote_culerity_driver_spec.rb +23 -0
  30. data/spec/driver/remote_selenium_driver_spec.rb +18 -0
  31. data/spec/driver/selenium_driver_spec.rb +11 -0
  32. data/spec/drivers_spec.rb +127 -0
  33. data/spec/dsl/all_spec.rb +69 -0
  34. data/spec/dsl/attach_file_spec.rb +64 -0
  35. data/spec/dsl/check_spec.rb +39 -0
  36. data/spec/dsl/choose_spec.rb +26 -0
  37. data/spec/dsl/click_button_spec.rb +236 -0
  38. data/spec/dsl/click_link_spec.rb +108 -0
  39. data/spec/dsl/click_spec.rb +24 -0
  40. data/spec/dsl/current_url_spec.rb +8 -0
  41. data/spec/dsl/fill_in_spec.rb +103 -0
  42. data/spec/dsl/find_button_spec.rb +16 -0
  43. data/spec/dsl/find_by_id_spec.rb +16 -0
  44. data/spec/dsl/find_field_spec.rb +22 -0
  45. data/spec/dsl/find_link_spec.rb +17 -0
  46. data/spec/dsl/find_spec.rb +57 -0
  47. data/spec/dsl/has_button_spec.rb +32 -0
  48. data/spec/dsl/has_content_spec.rb +101 -0
  49. data/spec/dsl/has_css_spec.rb +107 -0
  50. data/spec/dsl/has_field_spec.rb +96 -0
  51. data/spec/dsl/has_link_spec.rb +33 -0
  52. data/spec/dsl/has_xpath_spec.rb +123 -0
  53. data/spec/dsl/locate_spec.rb +59 -0
  54. data/spec/dsl/select_spec.rb +71 -0
  55. data/spec/dsl/uncheck_spec.rb +21 -0
  56. data/spec/dsl/within_spec.rb +153 -0
  57. data/spec/dsl_spec.rb +140 -0
  58. data/spec/fixtures/capybara.jpg +0 -0
  59. data/spec/fixtures/test_file.txt +1 -0
  60. data/spec/public/jquery-ui.js +35 -0
  61. data/spec/public/jquery.js +19 -0
  62. data/spec/public/test.js +33 -0
  63. data/spec/save_and_open_page_spec.rb +43 -0
  64. data/spec/searchable_spec.rb +61 -0
  65. data/spec/server_spec.rb +53 -0
  66. data/spec/session/celerity_session_spec.rb +27 -0
  67. data/spec/session/culerity_session_spec.rb +25 -0
  68. data/spec/session/rack_test_session_spec.rb +25 -0
  69. data/spec/session/selenium_session_spec.rb +25 -0
  70. data/spec/session_spec.rb +77 -0
  71. data/spec/session_with_headers_support_spec.rb +13 -0
  72. data/spec/session_with_javascript_support_spec.rb +192 -0
  73. data/spec/session_without_headers_support_spec.rb +15 -0
  74. data/spec/session_without_javascript_support_spec.rb +15 -0
  75. data/spec/spec_helper.rb +27 -0
  76. data/spec/test_app.rb +71 -0
  77. data/spec/views/buttons.erb +4 -0
  78. data/spec/views/fieldsets.erb +29 -0
  79. data/spec/views/form.erb +232 -0
  80. data/spec/views/postback.erb +13 -0
  81. data/spec/views/tables.erb +122 -0
  82. data/spec/views/with_html.erb +38 -0
  83. data/spec/views/with_js.erb +39 -0
  84. data/spec/views/with_scope.erb +36 -0
  85. data/spec/views/with_simple_html.erb +1 -0
  86. data/spec/wait_until_spec.rb +28 -0
  87. data/spec/xpath_spec.rb +271 -0
  88. metadata +282 -0
@@ -0,0 +1,36 @@
1
+ <h1>This page is used for testing various scopes</h1>
2
+
3
+ <p id="for_foo">
4
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
5
+ incididunt ut labore et dolore magna aliqua. Ut enim ad minim venia.
6
+ <a href="/redirect">Go</a>
7
+ </p>
8
+
9
+ <div id="for_bar">
10
+ <ul>
11
+ <li>With Simple HTML: <a href="/with_simple_html">Go</a>
12
+ <form action="/redirect" method="post" accept-charset="utf-8">
13
+ <p>
14
+ <label for="simple_first_name">First Name</label>
15
+ <input type="text" name="first_name" value="John" id="simple_first_name"/>
16
+ </p>
17
+ <p><input type="submit" value="Go"/></p>
18
+ </form>
19
+ </li>
20
+ <li>Bar: <a href="/foo">Go</a>
21
+ <form action="/form" method="post" accept-charset="utf-8">
22
+ <p>
23
+ <label for="bar_first_name">First Name</label>
24
+ <input type="text" name="form[first_name]" value="Peter" id="bar_first_name"/>
25
+ </p>
26
+ <p><input type="submit" value="Go"/></p>
27
+ </form>
28
+ </li>
29
+ </ul>
30
+ </div>
31
+
32
+ <div id="another_foo">
33
+ <ul>
34
+ <li>With Simple HTML: <a href="/">Go</a>
35
+ </ul>
36
+ </div>
@@ -0,0 +1 @@
1
+ Bar
@@ -0,0 +1,28 @@
1
+ require File.expand_path('spec_helper', File.dirname(__FILE__))
2
+
3
+ require 'capybara'
4
+ require 'capybara/wait_until'
5
+
6
+ module Capybara
7
+
8
+ describe WaitUntil do
9
+
10
+ it "should return result of yield if it returns true value within timeout" do
11
+ WaitUntil.timeout { "hello" }.should == "hello"
12
+ end
13
+
14
+ it "should keep trying within timeout" do
15
+ count = 0
16
+ WaitUntil.timeout { count += 1; count == 5 ? count : nil }.should == 5
17
+ end
18
+
19
+ it "should raise Capybara::TimeoutError if block fails to return true within timeout" do
20
+ running do
21
+ WaitUntil.timeout(0.1) { false }
22
+ end.should raise_error(::Capybara::TimeoutError)
23
+ end
24
+
25
+ end
26
+
27
+ end
28
+
@@ -0,0 +1,271 @@
1
+ require File.expand_path('spec_helper', File.dirname(__FILE__))
2
+
3
+ describe Capybara::XPath do
4
+
5
+ before do
6
+ @driver = Capybara::Driver::RackTest.new(TestApp)
7
+ @driver.visit('/form')
8
+ @xpath = Capybara::XPath.new
9
+ end
10
+
11
+ it "should proxy any class method calls to a new instance" do
12
+ @query = Capybara::XPath.fillable_field('First Name').to_s
13
+ @driver.find(@query).first.value.should == 'John'
14
+ end
15
+
16
+ it "should respond to instance methods at the class level" do
17
+ Capybara::XPath.should respond_to(:fillable_field)
18
+ end
19
+
20
+ describe '.wrap' do
21
+ it "should return an XPath unmodified" do
22
+ Capybara::XPath.wrap(@xpath).should == @xpath
23
+ end
24
+
25
+ it "should wrap a string in an xpath object" do
26
+ @xpath = Capybara::XPath.wrap('//foo/bar')
27
+ @xpath.should be_an_instance_of(Capybara::XPath)
28
+ @xpath.paths.should == ['//foo/bar']
29
+ end
30
+ end
31
+
32
+ describe '#append' do
33
+ it "should append an XPath's paths" do
34
+ @xpath = Capybara::XPath.wrap('//test')
35
+ @xpath = @xpath.append(Capybara::XPath.wrap('//foo/bar'))
36
+ @xpath.paths.should == ['//test', '//foo/bar']
37
+ end
38
+
39
+ it "should append an String as a new path" do
40
+ @xpath = Capybara::XPath.wrap('//test')
41
+ @xpath = @xpath.append('//foo/bar')
42
+ @xpath.paths.should == ['//test', '//foo/bar']
43
+ end
44
+ end
45
+
46
+ describe '#prepend' do
47
+ it "should prepend an XPath's paths" do
48
+ @xpath = Capybara::XPath.wrap('//test')
49
+ @xpath = @xpath.prepend(Capybara::XPath.wrap('//foo/bar'))
50
+ @xpath.paths.should == ['//foo/bar', '//test']
51
+ end
52
+
53
+ it "should prepend an String as a new path" do
54
+ @xpath = Capybara::XPath.wrap('//test')
55
+ @xpath = @xpath.prepend('//foo/bar')
56
+ @xpath.paths.should == ['//foo/bar', '//test']
57
+ end
58
+ end
59
+
60
+ describe '#scope' do
61
+ it "should prepend the given scope to all paths" do
62
+ @xpath = Capybara::XPath.new('//foo/bar', '//test[@blah=foo]').scope('//quox')
63
+ @xpath.paths.should include('//quox//foo/bar', '//quox//test[@blah=foo]')
64
+ end
65
+ end
66
+
67
+ describe '#field' do
68
+ it "should find any field by id or label" do
69
+ @query = @xpath.field('First Name').to_s
70
+ @driver.find(@query).first.value.should == 'John'
71
+ @query = @xpath.field('Password').to_s
72
+ @driver.find(@query).first.value.should == 'seeekrit'
73
+ @query = @xpath.field('Description').to_s
74
+ @driver.find(@query).first.text.should == 'Descriptive text goes here'
75
+ @query = @xpath.field('Document').to_s
76
+ @driver.find(@query).first[:name].should == 'form[document]'
77
+ @query = @xpath.field('Cat').to_s
78
+ @driver.find(@query).first.value.should == 'cat'
79
+ @query = @xpath.field('Male').to_s
80
+ @driver.find(@query).first.value.should == 'male'
81
+ @query = @xpath.field('Region').to_s
82
+ @driver.find(@query).first[:name].should == 'form[region]'
83
+ end
84
+
85
+ it "should be chainable" do
86
+ @query = @xpath.field('First Name').input_field(:password, 'First Name').to_s
87
+ @driver.find(@query).first.value.should == 'John'
88
+ @query = @xpath.field('Password').input_field(:password, 'Password').to_s
89
+ @driver.find(@query).first.value.should == 'seeekrit'
90
+ end
91
+ end
92
+
93
+ describe '#fillable_field' do
94
+ it "should find a text field, password field, or text area by id or label" do
95
+ @query = @xpath.fillable_field('First Name').to_s
96
+ @driver.find(@query).first.value.should == 'John'
97
+ @query = @xpath.fillable_field('Password').to_s
98
+ @driver.find(@query).first.value.should == 'seeekrit'
99
+ @query = @xpath.fillable_field('Description').to_s
100
+ @driver.find(@query).first.text.should == 'Descriptive text goes here'
101
+ end
102
+
103
+ it "should be chainable" do
104
+ @query = @xpath.fillable_field('First Name').password_field('First Name').to_s
105
+ @driver.find(@query).first.value.should == 'John'
106
+ @query = @xpath.fillable_field('Password').password_field('Password').to_s
107
+ @driver.find(@query).first.value.should == 'seeekrit'
108
+ end
109
+ end
110
+
111
+ describe '#text_field' do
112
+ it "should find a text field by id or label" do
113
+ @query = @xpath.text_field('form_first_name').to_s
114
+ @driver.find(@query).first.value.should == 'John'
115
+ @query = @xpath.text_field('First Name').to_s
116
+ @driver.find(@query).first.value.should == 'John'
117
+ end
118
+
119
+ it "should be chainable" do
120
+ @query = @xpath.text_field('First Name').password_field('First Name').to_s
121
+ @driver.find(@query).first.value.should == 'John'
122
+ @query = @xpath.text_field('Password').password_field('Password').to_s
123
+ @driver.find(@query).first.value.should == 'seeekrit'
124
+ end
125
+ end
126
+
127
+ describe '#password_field' do
128
+ it "should find a password field by id or label" do
129
+ @query = @xpath.password_field('form_password').to_s
130
+ @driver.find(@query).first.value.should == 'seeekrit'
131
+ @query = @xpath.password_field('Password').to_s
132
+ @driver.find(@query).first.value.should == 'seeekrit'
133
+ end
134
+
135
+ it "should be chainable" do
136
+ @query = @xpath.password_field('First Name').text_field('First Name').to_s
137
+ @driver.find(@query).first.value.should == 'John'
138
+ @query = @xpath.password_field('Password').text_field('Password').to_s
139
+ @driver.find(@query).first.value.should == 'seeekrit'
140
+ end
141
+ end
142
+
143
+ describe '#text_area' do
144
+ it "should find a text area by id or label" do
145
+ @query = @xpath.text_area('form_description').to_s
146
+ @driver.find(@query).first.text.should == 'Descriptive text goes here'
147
+ @query = @xpath.text_area('Description').to_s
148
+ @driver.find(@query).first.text.should == 'Descriptive text goes here'
149
+ end
150
+
151
+ it "should be chainable" do
152
+ @query = @xpath.text_area('Description').password_field('Description').to_s
153
+ @driver.find(@query).first.text.should == 'Descriptive text goes here'
154
+ @query = @xpath.text_area('Password').password_field('Password').to_s
155
+ @driver.find(@query).first.value.should == 'seeekrit'
156
+ end
157
+ end
158
+
159
+ describe '#button' do
160
+ it "should find a button by id or content" do
161
+ @query = @xpath.button('awe123').to_s
162
+ @driver.find(@query).first.value.should == 'awesome'
163
+ @query = @xpath.button('okay556').to_s
164
+ @driver.find(@query).first.value.should == 'okay'
165
+ @query = @xpath.button('click_me_123').to_s
166
+ @driver.find(@query).first.value.should == 'click_me'
167
+ @query = @xpath.button('Click me!').to_s
168
+ @driver.find(@query).first.value.should == 'click_me'
169
+ @query = @xpath.button('fresh_btn').to_s
170
+ @driver.find(@query).first.value.should == 'i am fresh'
171
+ @query = @xpath.button('i am fresh').to_s
172
+ @driver.find(@query).first[:name].should == 'form[fresh]'
173
+ end
174
+ end
175
+
176
+ describe '#radio_button' do
177
+ it "should find a radio button by id or label" do
178
+ @query = @xpath.radio_button('Male').to_s
179
+ @driver.find(@query).first.value.should == 'male'
180
+ @query = @xpath.radio_button('gender_male').to_s
181
+ @driver.find(@query).first.value.should == 'male'
182
+ end
183
+
184
+ it "should be chainable" do
185
+ @query = @xpath.radio_button('Male').password_field('Male').to_s
186
+ @driver.find(@query).first.value.should == 'male'
187
+ @query = @xpath.radio_button('Password').password_field('Password').to_s
188
+ @driver.find(@query).first.value.should == 'seeekrit'
189
+ end
190
+ end
191
+
192
+ describe '#checkbox' do
193
+ it "should find a checkbox by id or label" do
194
+ @query = @xpath.checkbox('Cat').to_s
195
+ @driver.find(@query).first.value.should == 'cat'
196
+ @query = @xpath.checkbox('form_pets_cat').to_s
197
+ @driver.find(@query).first.value.should == 'cat'
198
+ end
199
+
200
+ it "should be chainable" do
201
+ @query = @xpath.checkbox('Cat').password_field('Cat').to_s
202
+ @driver.find(@query).first.value.should == 'cat'
203
+ @query = @xpath.checkbox('Password').password_field('Password').to_s
204
+ @driver.find(@query).first.value.should == 'seeekrit'
205
+ end
206
+ end
207
+
208
+ describe '#select' do
209
+ it "should find a select by id or label" do
210
+ @query = @xpath.select('Region').to_s
211
+ @driver.find(@query).first[:name].should == 'form[region]'
212
+ @query = @xpath.select('form_region').to_s
213
+ @driver.find(@query).first[:name].should == 'form[region]'
214
+ end
215
+
216
+ it "should be chainable" do
217
+ @query = @xpath.select('Region').password_field('Region').to_s
218
+ @driver.find(@query).first[:name].should == 'form[region]'
219
+ @query = @xpath.select('Password').password_field('Password').to_s
220
+ @driver.find(@query).first.value.should == 'seeekrit'
221
+ end
222
+ end
223
+
224
+ describe '#file_field' do
225
+ it "should find a file field by id or label" do
226
+ @query = @xpath.file_field('Document').to_s
227
+ @driver.find(@query).first[:name].should == 'form[document]'
228
+ @query = @xpath.file_field('form_document').to_s
229
+ @driver.find(@query).first[:name].should == 'form[document]'
230
+ end
231
+
232
+ it "should be chainable" do
233
+ @query = @xpath.file_field('Document').password_field('Document').to_s
234
+ @driver.find(@query).first[:name].should == 'form[document]'
235
+ @query = @xpath.file_field('Password').password_field('Password').to_s
236
+ @driver.find(@query).first.value.should == 'seeekrit'
237
+ end
238
+ end
239
+
240
+ [ [:email_field, 'html5_email', 'Html5 Email', 'person@email.com'],
241
+ [:url_field, 'html5_url', 'Html5 Url', 'http://www.example.com'],
242
+ [:search_field, 'html5_search', 'Html5 Search', 'what are you looking for'],
243
+ [:tel_field, 'html5_tel', 'Html5 Tel', '911'],
244
+ [:color_field, 'html5_color', 'Html5 Color', '#FFF']].each do |method, id, label, output|
245
+ describe "##{method}" do
246
+ it "should find a file field by label" do
247
+ @query = @xpath.send(method, label).to_s
248
+ @driver.find(@query).first.value.should == output
249
+ end
250
+
251
+ it "should find a file field by id" do
252
+ @query = @xpath.send(method, id).to_s
253
+ @driver.find(@query).first.value.should == output
254
+ end
255
+
256
+ it "should be chainable" do
257
+ @query = @xpath.send(method, label).password_field(label).to_s
258
+ @driver.find(@query).first.value.should == output
259
+ @query = @xpath.send(method, 'Password').password_field('Password').to_s
260
+ @driver.find(@query).first.value.should == 'seeekrit'
261
+ end
262
+
263
+ it "should be a #fillable_field" do
264
+ @query = @xpath.fillable_field(label).to_s
265
+ @driver.find(@query).first.value.should == output
266
+ end
267
+ end
268
+
269
+ end
270
+
271
+ end
metadata ADDED
@@ -0,0 +1,282 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: h13ronim-capybara
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 3
8
+ - 0
9
+ - 1
10
+ version: 0.3.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Jonas Nicklas
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-02-25 00:00:00 +01:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: nokogiri
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 1
30
+ - 3
31
+ - 3
32
+ version: 1.3.3
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: mime-types
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ segments:
43
+ - 1
44
+ - 16
45
+ version: "1.16"
46
+ type: :runtime
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: culerity
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ segments:
56
+ - 0
57
+ - 2
58
+ - 4
59
+ version: 0.2.4
60
+ type: :runtime
61
+ version_requirements: *id003
62
+ - !ruby/object:Gem::Dependency
63
+ name: selenium-webdriver
64
+ prerelease: false
65
+ requirement: &id004 !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ segments:
70
+ - 0
71
+ - 0
72
+ - 3
73
+ version: 0.0.3
74
+ type: :runtime
75
+ version_requirements: *id004
76
+ - !ruby/object:Gem::Dependency
77
+ name: rack
78
+ prerelease: false
79
+ requirement: &id005 !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ segments:
84
+ - 1
85
+ - 0
86
+ - 0
87
+ version: 1.0.0
88
+ type: :runtime
89
+ version_requirements: *id005
90
+ - !ruby/object:Gem::Dependency
91
+ name: rack-test
92
+ prerelease: false
93
+ requirement: &id006 !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ segments:
98
+ - 0
99
+ - 5
100
+ - 2
101
+ version: 0.5.2
102
+ type: :runtime
103
+ version_requirements: *id006
104
+ - !ruby/object:Gem::Dependency
105
+ name: sinatra
106
+ prerelease: false
107
+ requirement: &id007 !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ segments:
112
+ - 0
113
+ - 9
114
+ - 4
115
+ version: 0.9.4
116
+ type: :development
117
+ version_requirements: *id007
118
+ - !ruby/object:Gem::Dependency
119
+ name: rspec
120
+ prerelease: false
121
+ requirement: &id008 !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ segments:
126
+ - 1
127
+ - 2
128
+ - 9
129
+ version: 1.2.9
130
+ type: :development
131
+ version_requirements: *id008
132
+ - !ruby/object:Gem::Dependency
133
+ name: hoe
134
+ prerelease: false
135
+ requirement: &id009 !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ segments:
140
+ - 2
141
+ - 5
142
+ - 0
143
+ version: 2.5.0
144
+ type: :development
145
+ version_requirements: *id009
146
+ description: |-
147
+ Capybara aims to simplify the process of integration testing Rack applications,
148
+ such as Rails, Sinatra or Merb. It is inspired by and aims to replace Webrat as
149
+ a DSL for interacting with a webapplication. It is agnostic about the driver
150
+ running your tests and currently comes bundled with rack-test, Culerity,
151
+ Celerity and Selenium support built in.
152
+ email:
153
+ - jonas.nicklas@gmail.com
154
+ executables: []
155
+
156
+ extensions: []
157
+
158
+ extra_rdoc_files:
159
+ - History.txt
160
+ - Manifest.txt
161
+ - README.rdoc
162
+ files:
163
+ - History.txt
164
+ - Manifest.txt
165
+ - README.rdoc
166
+ - Rakefile
167
+ - config.ru
168
+ - lib/capybara.rb
169
+ - lib/capybara/cucumber.rb
170
+ - lib/capybara/driver/base.rb
171
+ - lib/capybara/driver/celerity_driver.rb
172
+ - lib/capybara/driver/culerity_driver.rb
173
+ - lib/capybara/driver/rack_test_driver.rb
174
+ - lib/capybara/driver/selenium_driver.rb
175
+ - lib/capybara/dsl.rb
176
+ - lib/capybara/node.rb
177
+ - lib/capybara/rails.rb
178
+ - lib/capybara/save_and_open_page.rb
179
+ - lib/capybara/searchable.rb
180
+ - lib/capybara/server.rb
181
+ - lib/capybara/session.rb
182
+ - lib/capybara/wait_until.rb
183
+ - lib/capybara/xpath.rb
184
+ - script/console
185
+ - script/destroy
186
+ - script/generate
187
+ - spec/capybara_spec.rb
188
+ - spec/driver/celerity_driver_spec.rb
189
+ - spec/driver/culerity_driver_spec.rb
190
+ - spec/driver/rack_test_driver_spec.rb
191
+ - spec/driver/remote_culerity_driver_spec.rb
192
+ - spec/driver/remote_selenium_driver_spec.rb
193
+ - spec/driver/selenium_driver_spec.rb
194
+ - spec/drivers_spec.rb
195
+ - spec/dsl/all_spec.rb
196
+ - spec/dsl/attach_file_spec.rb
197
+ - spec/dsl/check_spec.rb
198
+ - spec/dsl/choose_spec.rb
199
+ - spec/dsl/click_button_spec.rb
200
+ - spec/dsl/click_link_spec.rb
201
+ - spec/dsl/click_spec.rb
202
+ - spec/dsl/current_url_spec.rb
203
+ - spec/dsl/fill_in_spec.rb
204
+ - spec/dsl/find_button_spec.rb
205
+ - spec/dsl/find_by_id_spec.rb
206
+ - spec/dsl/find_field_spec.rb
207
+ - spec/dsl/find_link_spec.rb
208
+ - spec/dsl/find_spec.rb
209
+ - spec/dsl/has_button_spec.rb
210
+ - spec/dsl/has_content_spec.rb
211
+ - spec/dsl/has_css_spec.rb
212
+ - spec/dsl/has_field_spec.rb
213
+ - spec/dsl/has_link_spec.rb
214
+ - spec/dsl/has_xpath_spec.rb
215
+ - spec/dsl/locate_spec.rb
216
+ - spec/dsl/select_spec.rb
217
+ - spec/dsl/uncheck_spec.rb
218
+ - spec/dsl/within_spec.rb
219
+ - spec/dsl_spec.rb
220
+ - spec/fixtures/capybara.jpg
221
+ - spec/fixtures/test_file.txt
222
+ - spec/public/jquery-ui.js
223
+ - spec/public/jquery.js
224
+ - spec/public/test.js
225
+ - spec/save_and_open_page_spec.rb
226
+ - spec/searchable_spec.rb
227
+ - spec/server_spec.rb
228
+ - spec/session/celerity_session_spec.rb
229
+ - spec/session/culerity_session_spec.rb
230
+ - spec/session/rack_test_session_spec.rb
231
+ - spec/session/selenium_session_spec.rb
232
+ - spec/session_spec.rb
233
+ - spec/session_with_headers_support_spec.rb
234
+ - spec/session_with_javascript_support_spec.rb
235
+ - spec/session_without_headers_support_spec.rb
236
+ - spec/session_without_javascript_support_spec.rb
237
+ - spec/spec_helper.rb
238
+ - spec/test_app.rb
239
+ - spec/views/buttons.erb
240
+ - spec/views/fieldsets.erb
241
+ - spec/views/form.erb
242
+ - spec/views/postback.erb
243
+ - spec/views/tables.erb
244
+ - spec/views/with_html.erb
245
+ - spec/views/with_js.erb
246
+ - spec/views/with_scope.erb
247
+ - spec/views/with_simple_html.erb
248
+ - spec/wait_until_spec.rb
249
+ - spec/xpath_spec.rb
250
+ has_rdoc: true
251
+ homepage: http://github.com/jnicklas/capybara
252
+ licenses: []
253
+
254
+ post_install_message:
255
+ rdoc_options:
256
+ - --main
257
+ - README.rdoc
258
+ require_paths:
259
+ - lib
260
+ required_ruby_version: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ segments:
265
+ - 0
266
+ version: "0"
267
+ required_rubygems_version: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - ">="
270
+ - !ruby/object:Gem::Version
271
+ segments:
272
+ - 0
273
+ version: "0"
274
+ requirements: []
275
+
276
+ rubyforge_project: capybara
277
+ rubygems_version: 1.3.6
278
+ signing_key:
279
+ specification_version: 3
280
+ summary: Capybara aims to simplify the process of integration testing Rack applications, such as Rails, Sinatra or Merb
281
+ test_files: []
282
+