watir 6.7.1 → 6.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4aa59f8349f178e00a119dabd2373320704441d6
4
- data.tar.gz: f4ffc2c9fb5847ee662c43834a158121a9a2884c
3
+ metadata.gz: ae158e5fbf5cef144dd15aec2a5901fe7706cbc8
4
+ data.tar.gz: f0f2ad99de5c0e581e1613d57cdcc5d1d5c346af
5
5
  SHA512:
6
- metadata.gz: addf993cd30bac3223c93a74f9a36c646c8e9d45e5478708ee6e35d1178a779e80f43313d194a770c356e8d763b7ffbdc628ebb30c703b4a15bf60e4b6bdf03f
7
- data.tar.gz: e7d0f9e05ed00e04175622ec32322ef20f2e4cebdd12308c1a47c973e7ca4e9ba393309279395c0e72cb7f530673dd55ed8e150886a004ed6ba5f35bcc90dd28
6
+ metadata.gz: 8781d07465d978a372d2dcd53a6e1f281cf56643b22985d622858bf712c41e8e84dd7b08bdb9edde53589a7acb40e328dcee2a443189a2ac79ca4b40f6ff92f9
7
+ data.tar.gz: 35df9199ede87d9bb540b3f32279212e6b612d3d9a302cefb86859234a0c4c968fa5f2a21a194490aeadbd1a1c7518af66a6f946244da795c475fc77760184ff
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 6.7.2 (2017-08-18)
2
+
3
+ * TableCell#column_header returns String not Cell
4
+
1
5
  ### 6.7.1 (2017-08-16)
2
6
 
3
7
  * Fix bug preventing use of Firefox profiles (#625)
@@ -3,7 +3,7 @@ module Watir
3
3
 
4
4
  def column_header
5
5
  current_row = parent(tag_name: 'tr')
6
- header_row(current_row, index: previous_siblings.size)
6
+ header_row(current_row, index: previous_siblings.size).text
7
7
  end
8
8
 
9
9
  def sibling_from_header(opt)
@@ -72,8 +72,8 @@ describe "TableCell" do
72
72
 
73
73
  describe "#column_header" do
74
74
  it "returns the corresponding column header" do
75
- td = browser.td(text: '1 331').column_header
76
- expect(td.text).to eq 'Income tax'
75
+ header = browser.td(text: '1 331').column_header
76
+ expect(header).to eq 'Income tax'
77
77
  end
78
78
  end
79
79
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'watir'
5
- s.version = '6.7.1'
5
+ s.version = '6.7.2'
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.authors = ['Alex Rodionov', 'Titus Fortner']
8
8
  s.email = ['p0deje@gmail.com', 'titusfortner@gmail.com']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watir
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.7.1
4
+ version: 6.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Rodionov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-16 00:00:00.000000000 Z
12
+ date: 2017-08-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: selenium-webdriver