Skip to content

Commit

Permalink
Deprecate #tableish. Closes cucumber#145.
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Sep 25, 2011
1 parent 953cb0b commit 3baebac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions History.md
Expand Up @@ -2,6 +2,7 @@

### Bugfixes
* Fix deprecation warnings ([#169](https://github.com/cucumber/cucumber-rails/issues/169), [#170](https://github.com/cucumber/cucumber-rails/pull/170) Micah Geisel)
* Deprecate #tableish. The Capybara::Node::Finders API has obsoleted the need for it. ([#145](https://github.com/cucumber/cucumber-rails/issues/145) Aslak Hellesøy)

## [v1.0.5](https://github.com/cucumber/cucumber-rails/compare/v1.0.4...v1.0.5)

Expand Down
1 change: 1 addition & 0 deletions lib/cucumber/web/tableish.rb
Expand Up @@ -50,6 +50,7 @@ def tableish(row_selector, column_selectors)
end

def _tableish(html, row_selector, column_selectors) #:nodoc
STDERR.puts("#{caller[1]}: #tableish is deprecated and may be removed in the next major version. Use Capybara::Node::Finders instead.")
doc = Nokogiri::HTML(html)
spans = nil
max_cols = 0
Expand Down

0 comments on commit 3baebac

Please sign in to comment.