capybara 2.0.0.beta2 → 2.0.0.beta4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. data/History.txt +30 -1
  2. data/README.md +52 -31
  3. data/lib/capybara.rb +1 -0
  4. data/lib/capybara/driver/base.rb +1 -1
  5. data/lib/capybara/driver/node.rb +1 -0
  6. data/lib/capybara/dsl.rb +12 -5
  7. data/lib/capybara/helpers.rb +33 -0
  8. data/lib/capybara/node/actions.rb +4 -2
  9. data/lib/capybara/node/base.rb +52 -1
  10. data/lib/capybara/node/element.rb +0 -12
  11. data/lib/capybara/node/finders.rb +1 -1
  12. data/lib/capybara/node/matchers.rb +57 -47
  13. data/lib/capybara/node/simple.rb +4 -0
  14. data/lib/capybara/query.rb +11 -11
  15. data/lib/capybara/rack_test/browser.rb +14 -15
  16. data/lib/capybara/rack_test/driver.rb +2 -2
  17. data/lib/capybara/rack_test/node.rb +15 -2
  18. data/lib/capybara/result.rb +7 -19
  19. data/lib/capybara/rspec.rb +7 -4
  20. data/lib/capybara/rspec/features.rb +4 -1
  21. data/lib/capybara/rspec/matchers.rb +8 -3
  22. data/lib/capybara/selector.rb +1 -2
  23. data/lib/capybara/selenium/driver.rb +2 -2
  24. data/lib/capybara/selenium/node.rb +9 -7
  25. data/lib/capybara/session.rb +47 -31
  26. data/lib/capybara/spec/fixtures/another_test_file.txt +1 -0
  27. data/lib/capybara/spec/public/test.js +1 -1
  28. data/lib/capybara/spec/session/all_spec.rb +60 -62
  29. data/lib/capybara/spec/session/assert_selector.rb +123 -0
  30. data/lib/capybara/spec/session/attach_file_spec.rb +72 -58
  31. data/lib/capybara/spec/session/body_spec.rb +21 -0
  32. data/lib/capybara/spec/session/check_spec.rb +67 -50
  33. data/lib/capybara/spec/session/choose_spec.rb +32 -21
  34. data/lib/capybara/spec/session/click_button_spec.rb +261 -221
  35. data/lib/capybara/spec/session/click_link_or_button_spec.rb +40 -30
  36. data/lib/capybara/spec/session/click_link_spec.rb +95 -81
  37. data/lib/capybara/spec/session/current_url_spec.rb +70 -60
  38. data/lib/capybara/spec/session/evaluate_script_spec.rb +6 -0
  39. data/lib/capybara/spec/session/execute_script_spec.rb +7 -0
  40. data/lib/capybara/spec/session/fill_in_spec.rb +118 -92
  41. data/lib/capybara/spec/session/find_button_spec.rb +16 -14
  42. data/lib/capybara/spec/session/find_by_id_spec.rb +16 -14
  43. data/lib/capybara/spec/session/find_field_spec.rb +23 -21
  44. data/lib/capybara/spec/session/find_link_spec.rb +15 -14
  45. data/lib/capybara/spec/session/find_spec.rb +96 -91
  46. data/lib/capybara/spec/session/first_spec.rb +53 -55
  47. data/lib/capybara/spec/session/has_button_spec.rb +22 -24
  48. data/lib/capybara/spec/session/has_css_spec.rb +190 -205
  49. data/lib/capybara/spec/session/has_field_spec.rb +167 -169
  50. data/lib/capybara/spec/session/has_link_spec.rb +26 -29
  51. data/lib/capybara/spec/session/has_select_spec.rb +175 -176
  52. data/lib/capybara/spec/session/has_selector_spec.rb +94 -100
  53. data/lib/capybara/spec/session/has_table_spec.rb +22 -26
  54. data/lib/capybara/spec/session/has_text_spec.rb +159 -132
  55. data/lib/capybara/spec/session/has_xpath_spec.rb +100 -96
  56. data/lib/capybara/spec/session/headers.rb +4 -17
  57. data/lib/capybara/spec/session/html_spec.rb +15 -0
  58. data/lib/capybara/spec/session/node_spec.rb +172 -82
  59. data/lib/capybara/spec/session/reset_session_spec.rb +42 -0
  60. data/lib/capybara/spec/session/response_code.rb +4 -17
  61. data/lib/capybara/spec/session/save_page_spec.rb +46 -0
  62. data/lib/capybara/spec/session/screenshot.rb +8 -24
  63. data/lib/capybara/spec/session/select_spec.rb +100 -89
  64. data/lib/capybara/spec/session/source_spec.rb +12 -0
  65. data/lib/capybara/spec/session/text_spec.rb +15 -17
  66. data/lib/capybara/spec/session/uncheck_spec.rb +22 -17
  67. data/lib/capybara/spec/session/unselect_spec.rb +57 -52
  68. data/lib/capybara/spec/session/visit_spec.rb +58 -60
  69. data/lib/capybara/spec/session/within_frame_spec.rb +24 -26
  70. data/lib/capybara/spec/session/within_spec.rb +119 -121
  71. data/lib/capybara/spec/session/within_window_spec.rb +29 -31
  72. data/lib/capybara/spec/spec_helper.rb +84 -0
  73. data/lib/capybara/spec/test_app.rb +5 -3
  74. data/lib/capybara/spec/views/form.erb +1 -0
  75. data/lib/capybara/spec/views/with_html.erb +6 -1
  76. data/lib/capybara/spec/views/with_js.erb +1 -0
  77. data/lib/capybara/version.rb +1 -1
  78. data/spec/basic_node_spec.rb +2 -2
  79. data/spec/capybara_spec.rb +9 -0
  80. data/spec/dsl_spec.rb +22 -10
  81. data/spec/rack_test_spec.rb +28 -23
  82. data/spec/result_spec.rb +51 -0
  83. data/spec/rspec/features_spec.rb +19 -0
  84. data/spec/rspec/matchers_spec.rb +6 -0
  85. data/spec/rspec_spec.rb +1 -1
  86. data/spec/selenium_spec.rb +11 -25
  87. data/spec/server_spec.rb +2 -2
  88. data/spec/spec_helper.rb +1 -46
  89. metadata +41 -98
  90. data/lib/capybara/spec/session.rb +0 -183
  91. data/lib/capybara/spec/session/javascript.rb +0 -290
  92. data/lib/capybara/util/save_and_open_page.rb +0 -45
  93. data/spec/save_and_open_page_spec.rb +0 -155
@@ -0,0 +1,51 @@
1
+ require 'spec_helper'
2
+
3
+ describe Capybara::Result do
4
+ let :string do
5
+ Capybara.string <<-STRING
6
+ <ul>
7
+ <li>Alpha</li>
8
+ <li>Beta</li>
9
+ <li>Gamma</li>
10
+ <li>Delta</li>
11
+ </ul>
12
+ STRING
13
+ end
14
+
15
+ let :result do
16
+ string.all '//li'
17
+ end
18
+
19
+ it "has a length" do
20
+ result.length.should == 4
21
+ end
22
+
23
+ it "has a first element" do
24
+ result.first.text == 'Alpha'
25
+ end
26
+
27
+ it "has a last element" do
28
+ result.last.text == 'Delta'
29
+ end
30
+
31
+ it "can return an element by its index" do
32
+ result.at(1).text.should == 'Beta'
33
+ result[2].text.should == 'Gamma'
34
+ end
35
+
36
+ it "can be mapped" do
37
+ result.map(&:text).should == %w(Alpha Beta Gamma Delta)
38
+ end
39
+
40
+ it "can be selected" do
41
+ result.select do |element|
42
+ element.text.include? 't'
43
+ end.length.should == 2
44
+ end
45
+
46
+ it "can be reduced" do
47
+ result.reduce('') do |memo, element|
48
+ memo += element.text[0]
49
+ end.should == 'ABGD'
50
+ end
51
+ end
@@ -36,6 +36,25 @@ feature "Capybara's feature DSL" do
36
36
  end
37
37
  end
38
38
 
39
+ feature "given and given! aliases to let and let!" do
40
+ given(:value) { :available }
41
+ given!(:value_in_background) { :available }
42
+
43
+ background do
44
+ value_in_background.should be(:available)
45
+ end
46
+
47
+ scenario "given and given! work as intended" do
48
+ value.should be(:available)
49
+ value_in_background.should be(:available)
50
+ end
51
+ end
52
+
53
+ feature "if xscenario aliases to pending then" do
54
+ xscenario "this test should be 'temporarily disabled with xscenario'" do
55
+ end
56
+ end
57
+
39
58
  feature "Capybara's feature DSL with driver", :driver => :culerity do
40
59
  scenario "switches driver" do
41
60
  Capybara.current_driver.should == :culerity
@@ -324,6 +324,12 @@ describe Capybara::RSpecMatchers do
324
324
  "<h1>Text</h1>".should have_text('No such Text')
325
325
  end.to raise_error(/expected there to be text "No such Text" in "Text"/)
326
326
  end
327
+
328
+ it "casts has_text? argument to string" do
329
+ expect do
330
+ "<h1>Text</h1>".should have_text(:cast_me)
331
+ end.to raise_error(/expected there to be text "cast_me" in "Text"/)
332
+ end
327
333
  end
328
334
 
329
335
  context "with should_not" do
@@ -1,6 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe 'capybara/rspec', :type => :request do
3
+ describe 'capybara/rspec', :type => :feature do
4
4
  it "should include Capybara in rspec" do
5
5
  visit('/foo')
6
6
  page.body.should include('Another World')
@@ -1,5 +1,16 @@
1
1
  require 'spec_helper'
2
2
 
3
+ module TestSessions
4
+ Selenium = Capybara::Session.new(:selenium, TestApp)
5
+ end
6
+
7
+ Capybara::SpecHelper.run_specs TestSessions::Selenium, "selenium", :skip => [
8
+ :response_headers,
9
+ :status_code,
10
+ :source,
11
+ :trigger
12
+ ]
13
+
3
14
  describe Capybara::Session do
4
15
  context 'with selenium driver' do
5
16
  before do
@@ -18,31 +29,6 @@ describe Capybara::Session do
18
29
  end
19
30
  end
20
31
 
21
- it_should_behave_like "session"
22
- it_should_behave_like "session with javascript support"
23
- it_should_behave_like "session with screenshot support"
24
- it_should_behave_like "session with frame support"
25
- it_should_behave_like "session with window support"
26
- it_should_behave_like "session without headers support"
27
- it_should_behave_like "session without status code support"
28
-
29
- unless RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
30
- it "should not interfere with forking child processes" do
31
- # Launch a browser, which registers the at_exit hook
32
- browser = Capybara::Selenium::Driver.new(TestApp).browser
33
-
34
- # Fork an unrelated child process. This should not run the code in the at_exit hook.
35
- begin
36
- pid = fork { "child" }
37
- Process.wait2(pid)[1].exitstatus.should == 0
38
- rescue NotImplementedError
39
- # Fork unsupported (e.g. on JRuby)
40
- end
41
-
42
- browser.quit
43
- end
44
- end
45
-
46
32
  describe "exit codes" do
47
33
  before do
48
34
  @current_dir = Dir.getwd
@@ -12,9 +12,9 @@ describe Capybara::Server do
12
12
  end
13
13
 
14
14
  it "should do nothing when no server given" do
15
- running do
15
+ expect do
16
16
  @server = Capybara::Server.new(nil).boot
17
- end.should_not raise_error
17
+ end.not_to raise_error
18
18
  end
19
19
 
20
20
  it "should bind to the specified host" do
@@ -1,46 +1 @@
1
- $:.unshift(File.expand_path('../lib', File.dirname(__FILE__)))
2
-
3
- require 'rubygems'
4
- require "bundler/setup"
5
-
6
- require 'rspec'
7
- require 'capybara'
8
-
9
- RSpec.configure do |config|
10
- config.before do
11
- Capybara.configure do |config|
12
- config.default_selector = :xpath
13
- end
14
- end
15
-
16
- # Workaround for http://code.google.com/p/selenium/issues/detail?id=3147:
17
- # Rerun the example if we hit a transient "docElement is null" error
18
- config.around(:each) do |example|
19
- attempts = 0
20
- begin
21
- example.run
22
- # example is just a Proc, @example is the current RSpec::Core::Example
23
- e = @example.instance_variable_get('@exception') # usually nil
24
- if (defined?(Selenium::WebDriver::Error::UnknownError) && e.is_a?(Selenium::WebDriver::Error::UnknownError) &&
25
- e.message == 'docElement is null' && (attempts += 1) < 5)
26
- @example.instance_variable_set('@exception', nil)
27
- redo
28
- end
29
- end until true
30
- end
31
- end
32
-
33
- # Required here instead of in rspec_spec to avoid RSpec deprecation warning
34
- require 'capybara/rspec'
35
-
36
- require 'capybara/spec/session'
37
-
38
- alias :running :lambda
39
-
40
- Capybara.app = TestApp
41
- Capybara.default_wait_time = 0 # less timeout so tests run faster
42
-
43
- module TestSessions
44
- RackTest = Capybara::Session.new(:rack_test, TestApp)
45
- Selenium = Capybara::Session.new(:selenium, TestApp)
46
- end
1
+ require 'capybara/spec/spec_helper'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta2
4
+ version: 2.0.0.beta4
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-13 00:00:00.000000000 Z
12
+ date: 2012-10-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &2151924320 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,15 +21,10 @@ dependencies:
21
21
  version: 1.3.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: 1.3.3
24
+ version_requirements: *2151924320
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: mime-types
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &2151920680 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
30
  - - ! '>='
@@ -37,15 +32,10 @@ dependencies:
37
32
  version: '1.16'
38
33
  type: :runtime
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '1.16'
35
+ version_requirements: *2151920680
46
36
  - !ruby/object:Gem::Dependency
47
37
  name: selenium-webdriver
48
- requirement: !ruby/object:Gem::Requirement
38
+ requirement: &2151934980 !ruby/object:Gem::Requirement
49
39
  none: false
50
40
  requirements:
51
41
  - - ~>
@@ -53,15 +43,10 @@ dependencies:
53
43
  version: '2.0'
54
44
  type: :runtime
55
45
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: '2.0'
46
+ version_requirements: *2151934980
62
47
  - !ruby/object:Gem::Dependency
63
48
  name: rack
64
- requirement: !ruby/object:Gem::Requirement
49
+ requirement: &2151934100 !ruby/object:Gem::Requirement
65
50
  none: false
66
51
  requirements:
67
52
  - - ! '>='
@@ -69,15 +54,10 @@ dependencies:
69
54
  version: 1.0.0
70
55
  type: :runtime
71
56
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: 1.0.0
57
+ version_requirements: *2151934100
78
58
  - !ruby/object:Gem::Dependency
79
59
  name: rack-test
80
- requirement: !ruby/object:Gem::Requirement
60
+ requirement: &2151944420 !ruby/object:Gem::Requirement
81
61
  none: false
82
62
  requirements:
83
63
  - - ! '>='
@@ -85,15 +65,10 @@ dependencies:
85
65
  version: 0.5.4
86
66
  type: :runtime
87
67
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: 0.5.4
68
+ version_requirements: *2151944420
94
69
  - !ruby/object:Gem::Dependency
95
70
  name: xpath
96
- requirement: !ruby/object:Gem::Requirement
71
+ requirement: &2151942540 !ruby/object:Gem::Requirement
97
72
  none: false
98
73
  requirements:
99
74
  - - ~>
@@ -101,15 +76,10 @@ dependencies:
101
76
  version: 1.0.0.beta1
102
77
  type: :runtime
103
78
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ~>
108
- - !ruby/object:Gem::Version
109
- version: 1.0.0.beta1
79
+ version_requirements: *2151942540
110
80
  - !ruby/object:Gem::Dependency
111
81
  name: sinatra
112
- requirement: !ruby/object:Gem::Requirement
82
+ requirement: &2151941620 !ruby/object:Gem::Requirement
113
83
  none: false
114
84
  requirements:
115
85
  - - ! '>='
@@ -117,15 +87,10 @@ dependencies:
117
87
  version: 0.9.4
118
88
  type: :development
119
89
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: 0.9.4
90
+ version_requirements: *2151941620
126
91
  - !ruby/object:Gem::Dependency
127
92
  name: rspec
128
- requirement: !ruby/object:Gem::Requirement
93
+ requirement: &2151940600 !ruby/object:Gem::Requirement
129
94
  none: false
130
95
  requirements:
131
96
  - - ! '>='
@@ -133,15 +98,10 @@ dependencies:
133
98
  version: 2.2.0
134
99
  type: :development
135
100
  prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ! '>='
140
- - !ruby/object:Gem::Version
141
- version: 2.2.0
101
+ version_requirements: *2151940600
142
102
  - !ruby/object:Gem::Dependency
143
103
  name: launchy
144
- requirement: !ruby/object:Gem::Requirement
104
+ requirement: &2151939620 !ruby/object:Gem::Requirement
145
105
  none: false
146
106
  requirements:
147
107
  - - ! '>='
@@ -149,15 +109,10 @@ dependencies:
149
109
  version: 2.0.4
150
110
  type: :development
151
111
  prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
- requirements:
155
- - - ! '>='
156
- - !ruby/object:Gem::Version
157
- version: 2.0.4
112
+ version_requirements: *2151939620
158
113
  - !ruby/object:Gem::Dependency
159
114
  name: yard
160
- requirement: !ruby/object:Gem::Requirement
115
+ requirement: &2151938580 !ruby/object:Gem::Requirement
161
116
  none: false
162
117
  requirements:
163
118
  - - ! '>='
@@ -165,15 +120,10 @@ dependencies:
165
120
  version: 0.5.8
166
121
  type: :development
167
122
  prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ! '>='
172
- - !ruby/object:Gem::Version
173
- version: 0.5.8
123
+ version_requirements: *2151938580
174
124
  - !ruby/object:Gem::Dependency
175
125
  name: fuubar
176
- requirement: !ruby/object:Gem::Requirement
126
+ requirement: &2151937600 !ruby/object:Gem::Requirement
177
127
  none: false
178
128
  requirements:
179
129
  - - ! '>='
@@ -181,15 +131,10 @@ dependencies:
181
131
  version: 0.0.1
182
132
  type: :development
183
133
  prerelease: false
184
- version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
- requirements:
187
- - - ! '>='
188
- - !ruby/object:Gem::Version
189
- version: 0.0.1
134
+ version_requirements: *2151937600
190
135
  - !ruby/object:Gem::Dependency
191
136
  name: cucumber
192
- requirement: !ruby/object:Gem::Requirement
137
+ requirement: &2151936720 !ruby/object:Gem::Requirement
193
138
  none: false
194
139
  requirements:
195
140
  - - ! '>='
@@ -197,15 +142,10 @@ dependencies:
197
142
  version: 0.10.5
198
143
  type: :development
199
144
  prerelease: false
200
- version_requirements: !ruby/object:Gem::Requirement
201
- none: false
202
- requirements:
203
- - - ! '>='
204
- - !ruby/object:Gem::Version
205
- version: 0.10.5
145
+ version_requirements: *2151936720
206
146
  - !ruby/object:Gem::Dependency
207
147
  name: rake
208
- requirement: !ruby/object:Gem::Requirement
148
+ requirement: &2151944740 !ruby/object:Gem::Requirement
209
149
  none: false
210
150
  requirements:
211
151
  - - ! '>='
@@ -213,12 +153,7 @@ dependencies:
213
153
  version: '0'
214
154
  type: :development
215
155
  prerelease: false
216
- version_requirements: !ruby/object:Gem::Requirement
217
- none: false
218
- requirements:
219
- - - ! '>='
220
- - !ruby/object:Gem::Version
221
- version: '0'
156
+ version_requirements: *2151944740
222
157
  description: Capybara is an integration testing tool for rack based web applications.
223
158
  It simulates how a user would interact with a website
224
159
  email:
@@ -231,6 +166,7 @@ files:
231
166
  - lib/capybara/driver/base.rb
232
167
  - lib/capybara/driver/node.rb
233
168
  - lib/capybara/dsl.rb
169
+ - lib/capybara/helpers.rb
234
170
  - lib/capybara/node/actions.rb
235
171
  - lib/capybara/node/base.rb
236
172
  - lib/capybara/node/document.rb
@@ -253,19 +189,24 @@ files:
253
189
  - lib/capybara/selenium/node.rb
254
190
  - lib/capybara/server.rb
255
191
  - lib/capybara/session.rb
192
+ - lib/capybara/spec/fixtures/another_test_file.txt
256
193
  - lib/capybara/spec/fixtures/capybara.jpg
257
194
  - lib/capybara/spec/fixtures/test_file.txt
258
195
  - lib/capybara/spec/public/jquery-ui.js
259
196
  - lib/capybara/spec/public/jquery.js
260
197
  - lib/capybara/spec/public/test.js
261
198
  - lib/capybara/spec/session/all_spec.rb
199
+ - lib/capybara/spec/session/assert_selector.rb
262
200
  - lib/capybara/spec/session/attach_file_spec.rb
201
+ - lib/capybara/spec/session/body_spec.rb
263
202
  - lib/capybara/spec/session/check_spec.rb
264
203
  - lib/capybara/spec/session/choose_spec.rb
265
204
  - lib/capybara/spec/session/click_button_spec.rb
266
205
  - lib/capybara/spec/session/click_link_or_button_spec.rb
267
206
  - lib/capybara/spec/session/click_link_spec.rb
268
207
  - lib/capybara/spec/session/current_url_spec.rb
208
+ - lib/capybara/spec/session/evaluate_script_spec.rb
209
+ - lib/capybara/spec/session/execute_script_spec.rb
269
210
  - lib/capybara/spec/session/fill_in_spec.rb
270
211
  - lib/capybara/spec/session/find_button_spec.rb
271
212
  - lib/capybara/spec/session/find_by_id_spec.rb
@@ -283,11 +224,14 @@ files:
283
224
  - lib/capybara/spec/session/has_text_spec.rb
284
225
  - lib/capybara/spec/session/has_xpath_spec.rb
285
226
  - lib/capybara/spec/session/headers.rb
286
- - lib/capybara/spec/session/javascript.rb
227
+ - lib/capybara/spec/session/html_spec.rb
287
228
  - lib/capybara/spec/session/node_spec.rb
229
+ - lib/capybara/spec/session/reset_session_spec.rb
288
230
  - lib/capybara/spec/session/response_code.rb
231
+ - lib/capybara/spec/session/save_page_spec.rb
289
232
  - lib/capybara/spec/session/screenshot.rb
290
233
  - lib/capybara/spec/session/select_spec.rb
234
+ - lib/capybara/spec/session/source_spec.rb
291
235
  - lib/capybara/spec/session/text_spec.rb
292
236
  - lib/capybara/spec/session/uncheck_spec.rb
293
237
  - lib/capybara/spec/session/unselect_spec.rb
@@ -295,7 +239,7 @@ files:
295
239
  - lib/capybara/spec/session/within_frame_spec.rb
296
240
  - lib/capybara/spec/session/within_spec.rb
297
241
  - lib/capybara/spec/session/within_window_spec.rb
298
- - lib/capybara/spec/session.rb
242
+ - lib/capybara/spec/spec_helper.rb
299
243
  - lib/capybara/spec/test_app.rb
300
244
  - lib/capybara/spec/views/buttons.erb
301
245
  - lib/capybara/spec/views/fieldsets.erb
@@ -315,7 +259,6 @@ files:
315
259
  - lib/capybara/spec/views/with_simple_html.erb
316
260
  - lib/capybara/spec/views/within_frames.erb
317
261
  - lib/capybara/spec/views/within_popups.erb
318
- - lib/capybara/util/save_and_open_page.rb
319
262
  - lib/capybara/version.rb
320
263
  - lib/capybara.rb
321
264
  - spec/basic_node_spec.rb
@@ -324,10 +267,10 @@ files:
324
267
  - spec/fixtures/selenium_driver_rspec_failure.rb
325
268
  - spec/fixtures/selenium_driver_rspec_success.rb
326
269
  - spec/rack_test_spec.rb
270
+ - spec/result_spec.rb
327
271
  - spec/rspec/features_spec.rb
328
272
  - spec/rspec/matchers_spec.rb
329
273
  - spec/rspec_spec.rb
330
- - spec/save_and_open_page_spec.rb
331
274
  - spec/selenium_spec.rb
332
275
  - spec/server_spec.rb
333
276
  - spec/spec_helper.rb
@@ -354,7 +297,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
354
297
  version: 1.3.1
355
298
  requirements: []
356
299
  rubyforge_project: capybara
357
- rubygems_version: 1.8.21
300
+ rubygems_version: 1.8.10
358
301
  signing_key:
359
302
  specification_version: 3
360
303
  summary: Capybara aims to simplify the process of integration testing Rack applications,