Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CONTRIBUTING.md) on how to contribute to Cucumber. ## [main](https://github.com/cucumber/cucumber-rails/compare/v2.5.1...main) (Not yet released) ### New Features ### Changed ### Fixed ## [v2.5.1](https://github.com/cucumber/cucumber-rails/compare/v2.5.0...v2.5.1) (2022-04-01) ### Fixed * Date input support in Rails 7 ([#535](https://github.com/cucumber/cucumber-rails/pull/535) [mgrunberg]) ## [v2.5.0](https://github.com/cucumber/cucumber-rails/compare/v2.4.0...v2.5.0) (2022-03-07) ### New Features * Added `:none` option for `javascript_strategy` which indicates no special handling of `@javascript` tagged tests ([#522](https://github.com/cucumber/cucumber-rails/pull/522) [akostadinov]) * Added support for Rails 7 ([#526](https://github.com/cucumber/cucumber-rails/pull/526/) [mgrunberg]) * Added Ruby 3.1 support ([#529](https://github.com/cucumber/cucumber-rails/pull/529) [mgrunberg]) ### Changed * Dropped Ruby 2.4 support ([#529](https://github.com/cucumber/cucumber-rails/pull/529) [mgrunberg]) ## [v2.4.0](https://github.com/cucumber/cucumber-rails/compare/v2.3.0...v2.4.0) (2021-07-21) ### New Features * Added new docker / Makefile script to permit releasing from repo ([#502](https://github.com/cucumber/cucumber-rails/pull/502) [luke-hill]) * Gem update: allowed cucumber 6/7 ([#515](https://github.com/cucumber/cucumber-rails/pull/515) / [#519](https://github.com/cucumber/cucumber-rails/pull/519)) * Add support for Ruby 3 ([#517](https://github.com/cucumber/cucumber-rails/pull/517/)) ### Changed * Updated rubocop to use new major versions ([#504](https://github.com/cucumber/cucumber-rails/pull/504) / [#519](https://github.com/cucumber/cucumber-rails/pull/519) [luke-hill]) ### Removed * Removed traces of legacy spork setup / help (No longer used) ([#518](https://github.com/cucumber/cucumber-rails/pull/518)) ## [v2.3.0](https://github.com/cucumber/cucumber-rails/compare/v2.2.0...v2.3.0) (2021-03-30) ### Changed * Changed dependency from rails to railties to avoid pulling in optional Rails gems like actioncable ([#486](https://github.com/cucumber/cucumber-rails/pull/486) [langalex]) * Lightened gem binary by removing un-needed files ([#496](https://github.com/cucumber/cucumber-rails/pull/496) [orien]) ### Fixed * Fixed up a couple of legacy capybara specs to use a better format ([#498](https://github.com/cucumber/cucumber-rails/pull/498) [luke-hill]) ## [v2.2.0](https://github.com/cucumber/cucumber-rails/compare/v2.1.0...v2.2.0) (2020-08-10) ### New Features * Added more documentation and tests around Javascript tagged scenarios ([#480](https://github.com/cucumber/cucumber-rails/pull/480) [luke-hill]) * Gem Updates * Allowed cucumber5, updated other gem dependencies * Updated travis runs and gem builds tested against ([#482](https://github.com/cucumber/cucumber-rails/pull/482) [luke-hill]) ### Changed * Dropped Rails 4.2 support ([#392](https://github.com/cucumber/cucumber-rails/pull/392) [deivid-rodriguez]) ### Fixed * Database cleaning no longer silently fails when using database_cleaner v2 adapter gems ([#467](https://github.com/cucumber/cucumber-rails/pull/467) [botandrose]) * Restored compatibility with `database_cleaner` versions earlier than 1.8.0.beta ([#473](https://github.com/cucumber/cucumber-rails/pull/473) [cgriego]) * Restored previous `database_cleaner` behavior for apps that do not use/load ActiveRecord ([#474](https://github.com/cucumber/cucumber-rails/pull/474) [cgriego]) * Restored previous compatibility around standard Rails Modules not being loaded ([#484](https://github.com/cucumber/cucumber-rails/pull/484) [Draiken]) ## [v2.1.0](https://github.com/cucumber/cucumber-rails/compare/v2.0.0...v2.1.0) (2020-06-15) ### New Features * Added metadata to allow gem to be searched / indexed by rubygems ([#447](https://github.com/cucumber/cucumber-rails/pull/447) [orien]) * Allow Cucumber 4 to be used as an option for cucumber-rails * NB: Cucumber4 changes quite a lot of logic with auto-loaders. This means that any previous logic that relied implicitly on load-order "may" be affected ([#453](https://github.com/cucumber/cucumber-rails/pull/453) [luke-hill] / [deivid-rodriguez]) ### Changed * Dropped Ruby 2.3 support (target 2.4 - 2.7) ([#466](https://github.com/cucumber/cucumber-rails/pull/466) [mvz]) * Refactored suite to remove a lot of old Rails3/4.0 "ism's" * Also migrated a lot of old cucumber styles to cucumber4 ([#441](https://github.com/cucumber/cucumber-rails/pull/441) [luke-hill]) * Refactored alias logic for overriding Rails methods to use `Module#prepend` ([#457](https://github.com/cucumber/cucumber-rails/pull/457) [wagenet]) * `database_cleaner` (when used), at a version `>= 1.8` will now silence all warnings * The suite internally will only test a version `>= 1.8`, so other versions will work but are un-maintained ([#463](https://github.com/cucumber/cucumber-rails/pull/463) [deivid-rodriguez]) ### Fixed * Various rubocop / rspec styling fixes ([#445](https://github.com/cucumber/cucumber-rails/pull/445) / [#449](https://github.com/cucumber/cucumber-rails/pull/449) / [#450](https://github.com/cucumber/cucumber-rails/pull/450) / [#451](https://github.com/cucumber/cucumber-rails/pull/451) / [#452](https://github.com/cucumber/cucumber-rails/pull/452) / [#465](https://github.com/cucumber/cucumber-rails/pull/465) [mvz] / [luke-hill]) * Various CI fixes ([#444](https://github.com/cucumber/cucumber-rails/pull/444) / [#460](https://github.com/cucumber/cucumber-rails/pull/460) / [#464](https://github.com/cucumber/cucumber-rails/pull/464) [mvz] / [damonjmurray] / [deivid-rodriguez]) * Avoid printing a warning about `config.cache_classes` being set to `false` when Spring is used ([#462](https://github.com/cucumber/cucumber-rails/pull/462) [janko]) ## [v2.0.0](https://github.com/cucumber/cucumber-rails/compare/v1.8.0...v2.0.0) (2019-09-13) ### New Features * New functionality allows users to Configure whether `Rack::Test` methods get auto-mixed in * Setting `ENV['CR_REMOVE_RACK_TEST_HELPERS] = "true"` will remove these methods from the `World` ([#440](https://github.com/cucumber/cucumber-rails/pull/440) [luke-hill]) ### Changed * **Breaking change:** `web_steps` have been completely removed from cucumber-rails ([#437](https://github.com/cucumber/cucumber-rails/pull/437) [luke-hill]) * Altered some branching logic in tests designed to cater for old ruby/rails versions ([#433](https://github.com/cucumber/cucumber-rails/pull/433) [luke-hill]) ## [v1.8.0](https://github.com/cucumber/cucumber-rails/compare/v1.7.0..v1.8.0) (2019-08-06) ### Changed * Dropped Ruby 2.2 support (target 2.3 and up) ([#424](https://github.com/cucumber/cucumber-rails/pull/424) [mvz]) * Begin to update the core runtime / development dependencies to something a little more recent ([#413](https://github.com/cucumber/cucumber-rails/pull/413) / [#431](https://github.com/cucumber/cucumber-rails/pull/431) / [#432](https://github.com/cucumber/cucumber-rails/pull/432) [mvz] / [luke-hill]) ### Fixed * Various rubocop / styling issues that had built up over time ([#414](https://github.com/cucumber/cucumber-rails/pull/414) / [#416](https://github.com/cucumber/cucumber-rails/pull/416) / [#419](https://github.com/cucumber/cucumber-rails/pull/419) / [#420](https://github.com/cucumber/cucumber-rails/pull/420) / [#421](https://github.com/cucumber/cucumber-rails/pull/421) / [#421](https://github.com/cucumber/cucumber-rails/pull/434) [luke-hill] / [mvz]) * Generic Travis Healthcheck (Fixed up polluted logs and use newer Ubuntu OS) ([#415](https://github.com/cucumber/cucumber-rails/pull/415) / [#417](https://github.com/cucumber/cucumber-rails/pull/417) [luke-hill]) * Rails6 not building correctly ([#418](https://github.com/cucumber/cucumber-rails/pull/418) [luke-hill]) * Provisional Ruby 2.7 builds not working ([#427](https://github.com/cucumber/cucumber-rails/pull/427) [amatsuda] / [luke-hill]) ## [v1.7.0](https://github.com/cucumber/cucumber-rails/compare/v1.6.0...v1.7.0) (2019-04-17) ### Changed * Drop rails `4.0` / `4.1` support ([#392](https://github.com/cucumber/cucumber-rails/pull/392) [deivid-rodriguez]) * Allow Ruby `2.6` users to `ERB.new` ([#399](https://github.com/cucumber/cucumber-rails/pull/399) [koic]) * Allow Rails to be used in the `6.x` series (Currently as of release only beta1 is supported) ([#405](https://github.com/cucumber/cucumber-rails/pull/405) [kotovalexarian]) * Update CI to test most relevant Rubies ([#411](https://github.com/cucumber/cucumber-rails/pull/411) [olleolleolle]) ### Fixed * Appraisals fixes (Up-to-date `geckodriver`, standardised the various `.gemfile`s) ([#389](https://github.com/cucumber/cucumber-rails/pull/389) / [#394](https://github.com/cucumber/cucumber-rails/pull/394) / [#395](https://github.com/cucumber/cucumber-rails/pull/395) / [#408](https://github.com/cucumber/cucumber-rails/pull/408) [xtrasimplicity] / [deivid-rodriguez] / [mvz]) * Various build issues that had built up over the previous year ([#403](https://github.com/cucumber/cucumber-rails/pull/403) / [#404](https://github.com/cucumber/cucumber-rails/pull/404) / [#410](https://github.com/cucumber/cucumber-rails/pull/410) [koic] / [mvz]) ## [v1.6.0](https://github.com/cucumber/cucumber-rails/compare/v1.5.0...v1.6.0) (2018-04-23) ### Changed * Renamed History.md to CHANGELOG.md, added contributing note, and this line in accordance with [cucumber/cucumber #251](https://github.com/cucumber/cucumber/issues/251) ([#345](https://github.com/cucumber/cucumber-rails/pull/345) [jaysonesmith](https://github.com/jaysonesmith)) * Update .travis.yml with ruby versions ([#341](https://github.com/cucumber/cucumber-rails/pull/341) Jun Aruga) * Removed support for Ruby <= 2.1, to keep in line with [cucumber-ruby](https://github.com/cucumber/cucumber-ruby/blob/master/CHANGELOG.md#302-2017-11-11) ([#360](https://github.com/cucumber/cucumber-rails/pull/360) [xtrasimplicity](https://github.com/xtrasimplicity)). * Updated syntax to support both new and deprecated forms of tag negation. ([#348](https://github.com/cucumber/cucumber-rails/pull/348) [mirelon](https://github.com/mirelon), [#359](https://github.com/cucumber/cucumber-rails/pull/359) [xtrasimplicity](https://github.com/xtrasimplicity)) * Dependencies: Allowed `Ammeter` versions greater than 1.1.3. ([#368](https://github.com/cucumber/cucumber-rails/pull/368) [mvz](https://github.com/mvz)) * Switched to Ruby 1.9 hash syntax. ([#371](https://github.com/cucumber/cucumber-rails/pull/371) [mvz](https://github.com/mvz)) * Added support to handle rerun files with multiple lines. ([#373]((https://github.com/cucumber/cucumber-rails/pull/345)) [mvz](https://github.com/mvz)) * Added support for Rails 5.2 and Capybara 3. ([#378](https://github.com/cucumber/cucumber-rails/pull/378/) [gobijan](https://github.com/gobijan), [radar](https://github.com/radar), [xtrasimplicity](https://github.com/xtrasimplicity)) ### Fixed * Fix typo ([#343](https://github.com/cucumber/cucumber-rails/pull/343) Olle Jonsson) * History.md: Fixed markdown formatting ([#344](https://github.com/cucumber/cucumber-rails/pull/344) [Kosmas](https://github.com/Kosmas)) * Fixed tag deprecation warnings. ([#373](https://github.com/cucumber/cucumber-rails/pull/373) [mvz](https://github.com/mvz)) ## [v1.5.0](https://github.com/cucumber/cucumber-rails/compare/1.4.5...1.5.0) (2017-05-12) * Drop rails 3 support ([#334](https://github.com/cucumber/cucumber-rails/pull/334) Matijs van Zuijlen) * Add rails 5.1 support ([#337](https://github.com/cucumber/cucumber-rails/pull/337) Matijs van Zuijlen - Rafael Reggiani Manzo) ## [v1.4.5](https://github.com/cucumber/cucumber-rails/compare/1.4.4...1.4.5) (2016-09-27) * Add support for Cucumber 3+ (Steve Tooke) ## [v1.4.4](https://github.com/cucumber/cucumber-rails/compare/1.4.3...1.4.4) (2016-08-05) * Ensure support for Rails 5 ## [v1.4.3](https://github.com/cucumber/cucumber-rails/compare/1.4.2...1.4.3) (2016-01-21) * Added gem version badge (Kosmas Chatzimichalis) * Fix a failing test due to rails date selectors only showing 5 years into the past by default ([#293](https://github.com/cucumber/cucumber-rails/pull/293) Thomas Walpole) * Allow cucumber 2 ([#293](https://github.com/cucumber/cucumber-rails/pull/293) Thomas Walpole) * Add rails 4.2 to test matrix ([#293](https://github.com/cucumber/cucumber-rails/pull/293) Thomas Walpole) * Depend on railties instead of rails ([#294](https://github.com/cucumber/cucumber-rails/pull/294) Alexander Lang) * Fix failing Travis CI tests ([#305](https://github.com/cucumber/cucumber-rails/pull/305) Matijs van Zuijlen) * Allow any cucumber < 3 ([#306](https://github.com/cucumber/cucumber-rails/pull/306) Matijs van Zuijlen) * Add annotations configuration in generator ([#292](https://github.com/cucumber/cucumber-rails/pull/292) Bob Showalter) * Expand support to include mime-types 3 ([#304](https://github.com/cucumber/cucumber-rails/pull/304) Austin Ziegler) * Replace badges with SVG versions ([#307](https://github.com/cucumber/cucumber-rails/pull/307) Kevin Goslar) * Add new line to end of generated database.yml ([#302](https://github.com/cucumber/cucumber-rails/pull/302) Kevin Carmody) ## [v1.4.2](https://github.com/cucumber/cucumber-rails/compare/1.4.1...v1.4.2) (2014-10-09) * Updated appraisal dependencies to rspec-rails 3.1.0, gemspec dependency to rspec <= 3.1, and removed turn from rails_4_1 appraisal (Kosmas Chatzimichalis) * Update mime-types dependency to >= 1.16, < 3 ([#289](https://github.com/cucumber/cucumber-rails/pull/289) Erik Michaels-Ober) * Upgrade to RSpec 3 ([#290](https://github.com/cucumber/cucumber-rails/pull/290) Tamir Duberstein) ## [v1.4.1](https://github.com/cucumber/cucumber-rails/compare/v1.4.0...v1.4.1) (2014-05-10) ### New Features * Added MIT licence in gemspec ([#261](https://github.com/cucumber/cucumber-rails/issues/261#issuecomment-23260956) Benjamin Fleischer) * Ensure dependency on DatabaseCleaner is not required ([#276](https://github.com/cucumber/cucumber-rails/pull/276) Matthew O'Riordan) * Added Rails 4.1 support ([#287](https://github.com/cucumber/cucumber-rails/pull/287) Felix Bünemann) * Modified appraisal instructions in README.md (Kosmas Chatzimichalis) * Added Gemnasium support (Kosmas Chatzimichalis) * Various code enhancements based on PullReview suggestions (Kosmas Chatzimichalis) ### Removed Features * Mongo step definition ([#263](https://github.com/cucumber/cucumber-rails/issues/263) Aslak Hellesøy) ### Bugfixes * Prevent MiniTest running `at_exit` when running cucumber ([#253](https://github.com/cucumber/cucumber-rails/issues/253) Steve Tooke) * `bundle exec rake` runs minitest with cucumber options and raises exception ([#252](https://github.com/cucumber/cucumber-rails/issues/252) Peter Bollenbeck) * Various bundler related fixes ([#264](https://github.com/cucumber/cucumber-rails/pull/264) Erik Michaels-Ober) * Additional gemspec cleanup ([#265](https://github.com/cucumber/cucumber-rails/pull/265) Erik Michaels-Ober) * Added mime-types runtime dependency to fix bundle install issue ([#273](https://github.com/cucumber/cucumber-rails/pull/273) Kosmas Chatzimichalis) * Removed mongoid gem from Appraisal ([#274](https://github.com/cucumber/cucumber-rails/pull/274) Kosmas Chatzimichalis) * Amend typo in select_dates_and_times.rb comments ([#268](https://github.com/cucumber/cucumber-rails/pull/268) Erik Eide) * Keep empty step_definitions directories ([#249](https://github.com/cucumber/cucumber-rails/pull/249) Iain D Broadfoot) * Remove obsolete link for config.cache_classes to false ([#271](https://github.com/cucumber/cucumber-rails/issues/271) Andrew Premdas) ## [v1.4.0](https://github.com/cucumber/cucumber-rails/compare/v1.3.1...v1.4.0) (2013-08-23) ### New Features * New test raising_errors.feature to test raising routing errors that replaced the earlier routing.feature * Added recommendation in README.md for running install scripts after upgrading (Joost Baaij) * Describe configuration option 'autorun_database_cleaner' in README ([#255](https://github.com/cucumber/cucumber-rails/pull/255) Martin Eismann) ### Changed Features * Gemspec in 1.3.1 doesn't allow usage with rails 4 ([#244](https://github.com/cucumber/cucumber-rails/issues/244) Fabian Schwahn) ### Removed Features * routing.feature code was actually testing the raising of errors so it was renamed to raising_errors.feature and slightly changed to deal with rails 4 changes in public folder * multiple_databases.feature was removed as it was actually testing DatabaseCleaner behaviour * pre_bundler.feature was removed as it is no longer relevant * mongodb feature was removed as is there is no mongodb code in cucumber-rails codebase ### Bugfixes * Fixed tests so they pass in Rails 4 and updated gemspec ([#247](https://github.com/cucumber/cucumber-rails/pull/247) Dave Brace) * Allow use with Rails 4 ([#254](https://github.com/cucumber/cucumber-rails/pull/254) Marnen Laibow-Koser) * (dumb) Fix for Rails4 ([#256](https://github.com/cucumber/cucumber-rails/pull/256) Jon Rowe) * Revert "Merge pull request #256 from JonRowe/dumb_fix_for_rails4_test_he... ([#258](https://github.com/cucumber/cucumber-rails/pull/258) Kosmas Chatzimichalis) ## [v1.3.1](https://github.com/cucumber/cucumber-rails/compare/v1.3.0...v1.3.1) (2013-03-15) ### New Features * Multiple-gemfile testing and travis configuration ([#240](https://github.com/cucumber/cucumber-rails/pull/240) Simon Coffey) ### Changed Features * Fix a typo in a template ([#228](https://github.com/cucumber/cucumber-rails/pull/228) Robin Dupret) * Depend upon the generic test:prepare task ([#230](https://github.com/cucumber/cucumber-rails/pull/230) Graeme Mathieson) * Allow users to disable database_cleaner hooks ([#232](https://github.com/cucumber/cucumber-rails/pull/232) Simon Coffey) * Rails 4.0.0-beta ActionController::Integration depreciation fix ([#234](https://github.com/cucumber/cucumber-rails/pull/234) Daniel Bruns) ## [v1.3.0](https://github.com/cucumber/cucumber-rails/compare/v1.2.1...v1.3.0) (2012-02-19) ### New Features * JavaScript database strategies should take options ([#192](https://github.com/cucumber/cucumber-rails/issues/192), [#195](https://github.com/cucumber/cucumber-rails/pull/195) Thomas Walpole) ### Changed features * select_date arguments should be reversed ([#190](https://github.com/cucumber/cucumber-rails/issues/190), [#191](https://github.com/cucumber/cucumber-rails/pull/191) Gavin Hughes) ## [v1.2.1](https://github.com/cucumber/cucumber-rails/compare/v1.2.0...v1.2.1) (2011-12-04) ### New features * Allow ability to use deletion as a javascript database strategy ([#185](https://github.com/cucumber/cucumber-rails/pull/185) Thijs de Vries) * Support custom JS strategies ([#184](https://github.com/cucumber/cucumber-rails/pull/184) Michael Pabst) ## [v1.2.0](https://github.com/cucumber/cucumber-rails/compare/v1.1.1...v1.2.0) (2011-11-03) ### Removed features * The (deprecated) tableish method has been removed. See https://gist.github.com/1299371 for an alternative. (Aslak Hellesøy) ### Bugfixes * Non-threadsafe database connections shared between threads ([#166](https://github.com/cucumber/cucumber-rails/issues/166) Matt Wynne) ## [v1.1.1](https://github.com/cucumber/cucumber-rails/compare/v1.1.0...v1.1.1) (2011-10-03) ### Removed features The `cucumber:feature` generator has been removed. The reasoning behind this is the same as for removing `web_steps.rb`, `paths.rb` and `selectors.rb` in v1.1.0. ## [v1.1.0](https://github.com/cucumber/cucumber-rails/compare/v1.0.6...v1.1.0) (2011-09-28) ### Removed features The following files will no longer be generated if you are running `rails generate cucumber:install`: * features/step_definitions/web_steps.rb * features/support/paths.rb * features/support/selectors.rb The reason behind this is that the steps defined in `web_steps.rb` leads people to write scenarios of a very imperative nature that are hard to read and hard to maintain. Cucumber scenarios should not be a series of steps that describe what a user clicks. Instead, they should express what a user *does*. Example: Given I have signed up as "user@host.com" with a Step Definition that perhaps looks like this: Given /^I have signed up as "([^"]*)"$/ do |email| visit(signup_path) fill_in('Email', with: email) fill_in('Password', with: 's3cr3t') fill_in('Password Confirmation', with: 's3cr3t') click_button('Sign up') end Moving user interface details from the scenarios and down to the step definitions makes scenarios much easier to read. If you change the user interface you only have to change a step definition or two instead of a lot of scenarios that explicitly describe how to sign up. You can learn more about the reasoning behind this change at the following links: * [Cucumber mailing list: Removing web_steps.rb in Cucumber 1.1.0](http://groups.google.com/group/cukes/browse_thread/thread/26f80b93c94f2952) * [Cucumber-Rails issue #174: Remove web_steps.rb since it encourages people to write poor tests.](https://github.com/cucumber/cucumber-rails/issues/174) * [Refuctoring your Cukes by Matt Wynne](http://skillsmatter.com/podcast/home/refuctoring-your-cukes) * [Imperative vs Declarative Scenarios in User Stories by Ben Mabey](http://benmabey.com/2008/05/19/imperative-vs-declarative-scenarios-in-user-stories.html) * [Whose domain is it anyway? by Dan North](http://dannorth.net/2011/01/31/whose-domain-is-it-anyway/) * [You're Cuking it Wrong by Jonas Nicklas](http://elabs.se/blog/15-you-re-cuking-it-wrong) You can learn more about what Capybara has to offer in Capybara's [README](https://github.com/jnicklas/capybara). ## [v1.0.6](https://github.com/cucumber/cucumber-rails/compare/v1.0.5...v1.0.6) (2011-09-25) ### 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) (2011-09-14) ### Bugfixes * No = dependencies in gemspec, since rubies with old YAML (sych) can't read them. (Aslak Hellesøy) ## [v1.0.4](https://github.com/cucumber/cucumber-rails/compare/v1.0.3...v1.0.4) (2011-09-12) ### Bugfixes * Active_record hook prevents features that access multiple database from running correctly ([#152](https://github.com/cucumber/cucumber-rails/issues/152) winnipegtransit) ## [v1.0.3](https://github.com/cucumber/cucumber-rails/compare/v1.0.2...v1.0.3) (2011-09-11) ### Bugfixes * sqlite3-ruby is now sqlite3 ([#158](https://github.com/cucumber/cucumber-rails/pull/158) Trung Le) * Broken link in the USAGE file of the features generator ([#156](https://github.com/cucumber/cucumber-rails/pull/156) Pablo Alonso García) * Rails destroy cucumber:feature deletes the steps folder, even though it's not empty. ([#154](https://github.com/cucumber/cucumber-rails/pull/154]), [#111](https://github.com/cucumber/cucumber-rails/issues/111) mblake) * Adjust select_date, select_time xpaths so they work when scoped in the document ([#151](https://github.com/cucumber/cucumber-rails/pull/151) Thomas Walpole) * Extend javascript emulation to handle rails CSRF protection ([#164](https://github.com/cucumber/cucumber-rails/pull/164) Jonathon M. Abbott) * Add steps for finding fields with errors ([#162](https://github.com/cucumber/cucumber-rails/pull/162) Mike Burns) ## [v1.0.2](https://github.com/cucumber/cucumber-rails/compare/v1.0.1...v1.0.2) (2011-06-26) ### Bugfixes * Removed the dependency on rack-test, since it is not used directly. v1.0.1 was incompatible with Rails 3.0.9. (Aslak Hellesøy) ## [v1.0.1](https://github.com/cucumber/cucumber-rails/compare/v1.0.0...v1.0.1) (2011-06-25) ### New Features * Added a `@no-database-cleaner` tag you can add if you don't want to run DatabaseCleaner. Useful for debugging if you want to leave data in the database. Typical use case is to run `rails server --environment test` to look at/try app with data from test. (Aslak Hellesøy) * History file is now in Markdown format. (Aslak Hellesøy) ## [v1.0.0](https://github.com/cucumber/cucumber-rails/compare/v0.5.2...v1.0.0) (2011-06-20) ### New Features * Upgraded Cucumber dependency to `1.0.0` (Aslak Hellesøy) ## [v0.5.2](https://github.com/cucumber/cucumber-rails/compare/v0.5.1...v0.5.2) (2011-06-07) ### New Features * Upgraded to Capybara 1.0.0.rc1 (Aslak Hellesøy) * Add stats to generator (#144 Aslak Hellesøy) ## [v0.5.1](https://github.com/cucumber/cucumber-rails/compare/v0.5.0...v0.5.1) (2011-05-25) ### Bugfixes * Mixed DB access feature for @javascript drivers (#142 Alexander Mankuta) * cucumber:feature and integers. not creating feature correctly (#30 John Ivanoff, Aslak Hellesøy) * New project can't find capybara's "visit" (#143 Aslak Hellesøy) * rails generate cucumber:install attempts double run (#140 Aslak Hellesøy) ## [v0.5.0](https://github.com/cucumber/cucumber-rails/compare/v0.5.0.beta1...v0.5.0) (2011-05-17) ### Bugfixes * undefined method `add_assertion' for nil:NilClass (#96, #97, #98 Aslak Hellesøy) * Capybara name error from env.rb (#125 Aslak Hellesøy) * Fixed date-localization bug (#138 Michael Opitz) ## [v0.5.0.beta1](https://github.com/cucumber/cucumber-rails/compare/v0.4.1...v0.5.0.beta1) (2011-05-09) ### Removed features * Dropped support for Rails 2 (Aslak Hellesøy) * Dropped support for Webrat (Aslak Hellesøy) * Removed database cleaner strategy overrides (#134 Daniel Morrison, Daniel Duvall) ### Improvements * Upgrade to Capybara 1.0.0.beta1 or newer (#129, #130 Simon Menke, Klaus Hartl, Aslak Hellesøy) * Generated paths.rb cleanup (#133 Tim Pope) * Allow css pseudo-classes in scopers (#122 twalpole) ## [v0.4.1](https://github.com/cucumber/cucumber-rails/compare/v0.4.0...v0.4.1) (2011-04-05) ### Bugfixes * Fixed incorrect warning in generated files. (#115 Emanuele Vicentini) * Fixed incorrect hooks for DatabaseCleaner (#113 Markus Bengts) * Throw an error if the user forgot to add DatabaseCleaner to the Gemfile, allowing them to decide whether or not to use it. (#36 Aslak Hellesøy, Ryan Bigg) ## [v0.4.0](https://github.com/cucumber/cucumber-rails/compare/v0.3.2...v0.4.0) (2011-03-20) ### New Features * Add selectors helper (#63 Bodaniel Jeanes) * Capybara date stepdefs (#66 Rob Holland) * The World now includes Rack::Test::Methods, allowing get, post, put delete (Aslak Hellesøy) ### Bugfixes * Allow setting rails root (#102, #103, Fabio Kreusch) * Fix Date selection steps and helpers (#93, #99, #100, #101, #109 James Herdman, John Ferlito, twalpole, Geoff Drake, Ricky Robinson, Michael Fleet) * Can not run cucumber-rails (0.4.0.beta.1) with cucumber (0.10.0) (#89 Aslak Hellesøy) * Installing cucumber-rails without a database.yml fails (#61 Aslak Hellesøy) * Fix #click_link compatibility with Capybara 0.4. (#54, #77, #78, #80 Aslak Hellesøy) * Support for projects using other ORMs than ActiveRecord (or nothing at all). (#18, #22, #46, #85, #86, #87, #90 Aslak Hellesøy) * @allow-rescue not working in rails 3 (#31 Joe Ferris, Aslak Hellesøy) * Gem dependency on Nokogiri (for #tableish). (#53 Aslak Hellesøy) ### Removed Features * Automatic detection of RSpec, Capybara and Webrat for install generator. Set gems explicitly in your Gemfile (Rails3) or environment.rb (Rails2) * Then /^(?:|I )should see JSON:$/. Use #get and #last_response instead. See features/rails3.feature. (Aslak Hellesøy) * Cucumber::Rails::World.use_transactional_fixtures. TODO: Explain what to do instead. No more Cucumber::Rails::World.use_transactional_fixtures = false. Use DatabaseCleaner.strategy = :none instead ## [v0.3.2](https://github.com/cucumber/cucumber-rails/compare/v0.3.1...v0.3.2) (2010-06-06) The `rails-2.3.x` support branch branches off from here. * web_steps.rb uses "([^"]*)" instead of "([^\"]*)" (Aslak Hellesøy) * Renamed cucumber:skeleton to cucumber:install (Rails 3 generator). (Aslak Hellesøy) * Upgraded to be compatible with rspec 2.0.0.beta.10 (#35 Gabor Ratky, Pete Yandell) ## [v0.3.1](https://github.com/cucumber/cucumber-rails/compare/v0.3.0...v0.3.1) (2010-05-04) This release has a lot of bugfixes! The test suite (based on Aruba) verifies that Cucumber-Rails now works with various combinations of: * Cucumber 0.6.x/0.7.2 * Rails2/Rails3 * RSpec1/RSpec2/Test-Unit/Mini-Uint * Webrat/CapyBara * MRI 1.8.6/1.8.7/1.9.1 This one requires a special mention: The handy (but error prone) rerun functionality has moved to a separate rerun profile, so all rerun.txt related issues should now be gone. * New Capybara Step Definitions for Dates. (Rob Holland) * Steps now recognise "Given I am on the users page" etc. (Solomon White) * Relegate rerun to its own profile and rake task (Mike Sassak) * Added new Then /^(?:|I )should see JSON:$/ step definition to Capybara - useful for REST. (Aslak Hellesøy) * The #tableish method now understands tables with colspan and rowspan * Support RSpec 2 (Johan Kiviniemi, Aslak Hellesøy, Rolf Bjaanes) * Added @no-js-emulation, which turns off javascript emulation for delete links when not using browser testing. (Rob Holland, Aslak Hellesøy) * Korean translation (Shim Taewon) ### Bugfixes * No longer need to install the test-unit gem on 1.9.1 (Aslak Hellesøy) * capybara rack-test field should contain step support for textarea (#28 Nicholas Rutherford) * "Rspec is not missing constant Matchers!" error. (#27 David Chelimsky, Aslak Hellesøy) * @culerity tag breaks Rails 3 RESTful helpers (#17 Aslak Hellesøy) ## [v0.3.0](https://github.com/cucumber/cucumber-rails/compare/v0.2.4...v0.3.0) (2010-02-26) This is a major release since we're now supporting both Rails 3 and RSpec 2. Older versions (Rails 2 and RSpec 1) are still supported. ### New Features * Support for both Rails-2.x and Rails-3.x (#10 Kristian Mandrup, Aleksey Gureiev, Ashley Moran, Aslak Hellesøy) * Support for both RSpec-1.x and RSpec-2.x (Louis Rose, Aslak Hellesøy) * Features will default to Javascript emulation unless you turn it off with @culerity, (Aslak Hellesøy) * Japanese translation. (MOROHASHI Kyosuke) ### Bugfixes * Support projects that don't use ActiveRecord (#14 Aslak Hellesøy) * Running test/unit tests when creating a skeleton (#12 Aleksey Gureiev) * Inform that config/database.yml is overwritten, be smarter about it and inform the user that it is forced. (#15 Aslak Hellesøy) * Reverts changes from issue #5 where verification of query string params was added to the step for being on a page. Adds step discussed in issue #11 for verification of query string. (#5, #11 Eric Milford) * Fixed typos in Capybara's web steps (has_not_xpath? => has_no_xpath?) (Thorbjørn Hermansen, Carlos Antonio da Silva) ### New Features * Added Danish translation (Kristian Mandrup) * Using Gemfile for Rails 3. Tidies it up and adds cucumber gems only if not already present! (Kristian Mandrup) * Added Generators wrapper module for Rails 3 generators so they are now all in Cucumber::Generators (Kristian Mandrup) ### Bugfixes * Started to work on solutions for generating suitable support files depending on Rails version - see skeleton_base.rb#create_feature_support and templates/support ## [v0.2.4](https://github.com/cucumber/cucumber-rails/compare/v0.2.3...v0.2.4) (2010-01-18) ### New Features * Added Spanish translation (Gabriel) ### Bugfixes * Fixed some broken Webrat/Test::Unit step definitions. (Aslak Hellesøy) * Better Javascript emulation with Capybara (#7 Thorbjørn Hermansen) * Removed stray quote in i18n web_steps.rb (Gabriel) * Update hooks to new boolean logic (#6 Jon Larkowski, Michael MacDonald) * Fixed incompatibility with Rails 3 (Mutwin Kraus) * Fixed broken "fill in the following" step for Capybara web_steps (Lenny Marks) * Capybara web_steps.rb with_scope didn't work in nested steps (Lenny Marks) * Fixed "should not see" steps in web_steps.rb to use the correct selector (Toni Tuominen) ## [v0.2.3](https://github.com/cucumber/cucumber-rails/compare/v0.2.2...v0.2.3) (2010-01-03) ### New Features * The #tableish Proc can return Strings as well as Nokogiri nodes now. (Aslak Hellesøy) ### Bugfixes * Handle all types of URIs in "I should be on ..." steps. (#5 Andrew D. Smith) ## [v0.2.2](https://github.com/cucumber/cucumber-rails/compare/v0.2.1...v0.2.2) (2009-12-21) ### Bugfixes * Fix bad link in gemspec. (Aslak Hellesøy) * Unified file attaching step names. (Jiří Zajpt) * Fix typos in variable names in several step definitions. (Jiří Zajpt) * cucumber.rake finds the wrong vendored cucumber when a plugin name starts with "cucumber" (#4 James Herdman, Paco Benavent, Aslak Hellesøy) ### New features * Czech translations. (Jiří Zajpt) ## [v0.2.1](https://github.com/cucumber/cucumber-rails/compare/v0.2.0...v0.2.1) (2009-12-16) Small bugfix release ### Bugfixes * Made sure database_cleaner is always set up as a dependency in config/environments/cucumber.rb. (Aslak Hellesøy) This is the first release of cucumber-rails, which was factored out of cucumber. We're calling it 0.2.0 just because we did some prereleases in the 0.1 series, and to celebrate that cucumber-rails now supports Capybara as an alternative to Webrat. ### UPGRADING FROM A PREVIOUS CUCUMBER SETUP 1. Remove your `features/support/version_check.rb` 2. Remove your `features/step_definitions/webrat_steps.rb` If you have added your own custom step definitions to this file, put them in a different file under features/step_definitions 3. run `ruby script/generate cucumber --help` to see what options you have. 4. run `ruby script/generate cucumber` - plus whatever options you think fit for you. Answer "n" (no) when asked to overwrite paths.rb. Answer "y" (yes) when asked to overwrite other files, but do "d" (diff) first. If you have edits in some of these files that you want to keep, store the diff in a temporary file and reapply after you have overwritten the file. ALso consider adding your custom code to another file that won't be overwritten the next time you upgrade. Many people have edits in their `env.rb` file. This is something you should try to avoid in the future. Instead, keep your custom setup in a different file under `features/support` - Cucumber loads all files under `features/**/*.rb` anyway. If you have a Spork setup, see the end of this thread: http://groups.google.com/group/cukes/browse_thread/thread/475385cc26377215 ### New features * Added an @emulate_rails_javascript tag that will emulate onclick with Capybara (Aslak Hellesøy, Rob Holland) * Added a smart config/cucumber.yml file that will rerun previously failing scenarios (Aslak Hellesøy) * Support for Capybara. Run "script/generate --capybara" if you want that. (Rob Holland, Aslak Hellesøy) * New #tableish method to extract table-like data from a HTML page. Pure Nokogiri/CSS3/XPath. (Aslak Hellesøy) ### Bugfixes * Webrat step "Then I should be on" should use request_uri instead of path for missing query string parameters (ZhangJinzhu) * Added MIME type parameter to attach file step definition (Felix Flores) * Added check when including ActiveSupport::Testing::SetupAndTeardown for older Rails versions (Jeremy Durham) [deivid-rodriguez]: https://github.com/deivid-rodriguez [koic]: https://github.com/koic [kotovalexarian]: https://github.com/kotovalexarian [mvz]: https://github.com/mvz [olleolleolle]: https://github.com/olleolleolle [luke-hill]: https://github.com/luke-hill [amatsuda]: https://github.com/amatsuda [xtrasimplicity]: https://github.com/xtrasimplicity [janko]: https://github.com/janko [damonjmurray]: https://github.com/damonjmurray [orien]: https://github.com/orien [wagenet]: https://github.com/wagenet [cgriego]: https://github.com/cgriego [botandrose]: https://github.com/botandrose [Draiken]: https://github.com/Draiken [langalex]: https://github.com/langalex [orien]: https://github.com/orien