#35 ✓hold
baphled@boodah.net

Fix broken step in master branch

Reported by baphled@boodah.net | May 10th, 2010 @ 09:41 PM

It seems we may have a broken step stemming from the master branch.

See below for failing scenario:


Feature: Import all features
  In order to speed things up when we have a few features
  As a user
  I want to be able to import all features at once

  Scenario: When a user selects update all we will update all features # features/plain/import_all_features.feature:6
    Given there is a project                                           # features/step_definitions/projects_steps.rb:1
    And the project has features to import                             # features/step_definitions/projects_steps.rb:47
    When I visit the project                                           # features/step_definitions/projects_steps.rb:87
    And I follow "Import all"                                          # features/step_definitions/web_steps.rb:26
      undefined method `imports_found' for # (NoMethodError)
      ./app/controllers/projects_controller.rb:77:in `import_all'
      /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
      (eval):2:in `click_link'
      ./features/step_definitions/web_steps.rb:27:in `/^(?:|I )follow "([^\"]*)"$/'
      features/plain/import_all_features.feature:10:in `And I follow "Import all"'
    Then a flash message 'Importing all features' should be displayed  # features/step_definitions/general_steps.rb:1
    And there should be no features to import                          # features/step_definitions/projects_steps.rb:409

Failing Scenarios:
cucumber features/plain/import_all_features.feature:6 # Scenario: When a user selects update all we will update all features

1 scenario (1 failed)
6 steps (1 failed, 2 skipped, 3 passed)
0m0.810s

Comments and changes to this ticket

  • baphled@boodah.net

    baphled@boodah.net May 13th, 2010 @ 01:29 PM

    • State changed from “new” to “hold”

    This seems to be an issue with selenium using the same DB as cucumber. Once the db was reset and the fixture data was added, the tests pasted.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Bridging the gap between clients and developers

Shared Ticket Bins

People watching this ticket

Tags

Pages