diff --git a/Gemfile b/Gemfile index c853997..c5855a9 100644 --- a/Gemfile +++ b/Gemfile @@ -5,7 +5,7 @@ gemspec gem 'appraisal' gem 'aruba' gem 'coffee-rails' -gem 'cucumber' +gem 'cucumber', '1.3.19' gem 'jquery-rails' gem 'rake' gem 'rspec-rails' diff --git a/Gemfile.lock b/Gemfile.lock index ba061b0..c906291 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -44,12 +44,12 @@ GEM coffee-script-source execjs coffee-script-source (1.7.0) - cucumber (1.3.15) + cucumber (1.3.19) builder (>= 2.1.2) diff-lcs (>= 1.1.3) gherkin (~> 2.12) multi_json (>= 1.7.5, < 2.0) - multi_test (>= 0.1.1) + multi_test (>= 0.1.2) diff-lcs (1.2.5) erubis (2.7.0) execjs (2.0.2) @@ -64,8 +64,8 @@ GEM thor (>= 0.14, < 2.0) json (1.8.1) minitest (5.3.4) - multi_json (1.10.1) - multi_test (0.1.1) + multi_json (1.11.0) + multi_test (0.1.2) rack (1.5.2) rack-test (0.6.2) rack (>= 1.0) @@ -103,7 +103,7 @@ DEPENDENCIES appraisal aruba coffee-rails - cucumber + cucumber (= 1.3.19) factory_girl_rails! jquery-rails rake diff --git a/features/load_definitions.feature b/features/load_definitions.feature index 1ee61a6..eb55489 100644 --- a/features/load_definitions.feature +++ b/features/load_definitions.feature @@ -4,6 +4,7 @@ Feature: automatically load step definitions When I successfully run `bundle exec rails new testapp` And I cd to "testapp" And I add "factory_girl_rails" from this project as a dependency + And I add "test-unit" as a dependency And I run `bundle install` with a clean environment And I write to "db/migrate/1_create_users.rb" with: """ @@ -15,7 +16,7 @@ Feature: automatically load step definitions end end """ - When I run `bundle exec rake db:migrate --trace` with a clean environment + When I run `bundle exec rake db:migrate` with a clean environment And I write to "app/models/user.rb" with: """ class User < ActiveRecord::Base @@ -42,7 +43,7 @@ Feature: automatically load step definitions end end """ - When I run `bundle exec rake test --trace` with a clean environment + When I run `bundle exec rake test` with a clean environment Then the output should contain "1 assertions, 0 failures, 0 errors" Scenario: use factories advertised by railties/engines/3rd-party gems @@ -80,5 +81,5 @@ Feature: automatically load step definitions end end """ - When I run `bundle exec rake test --trace` with a clean environment + When I run `bundle exec rake test` with a clean environment Then the output should contain "1 assertions, 0 failures, 0 errors"