ホーム > Development > cucumber-rails の tableishは廃止されました

cucumber-rails の tableishは廃止されました

2013 年 1 月 18 日
このエントリーをはてなブックマークに追加
Share on LinkedIn

約一年前の事ですが、cucumber-rails で tableish が削除されています。

History.md ## [v1.2.0](https://github.com/cucumber/cucumber-rails/compare/v1.1.1…v1.2.0) ### Removed features * The (deprecated) tableish method has been removed. See https://gist.github.com/1299371 for an alternative. (Aslak Hellesøy)

table要素をarrayに変換してくれる便利なメソッドがなぜ削除されたのか… コミッタの方曰く、Capybaraに強力なAPIがあるんだからいらないでしょ。って方針らしい。

なので v1.2.0 以降では以下のようにするのがよさそう。


https://gist.github.com/4563036

https://gist.github.com/1299371

http://dennisreimann.de/blog/capybara-finder-for-cucumber-rails-deprecated-tableish/

カテゴリー: Development タグ: , ,
コメントは受け付けていません。