@accounts Feature: delete a payment schedule In order to be able to delete a payment schedule from a account As a logged in user I need to be able to delete a new payment schedule Background: Given I am logged in user And I am on "\Payment Schedule" Scenario: delete a payment schedule after creating Given the form "number of schedule" contains "15" And the form "begin date" contains "15/5/2012" And I press button "Create" And I press button "Delete" Then I should have a empty table "Payment Schedule" @javascript Scenario: after deleting a payment schedule, should see entries in the tab "Entries" on page "Payment schedule" Given I have a tab "payment schedule" with rows on the page "Payment Schedule" Given I have a tab "entries" with rows on the tab "entries" When I press button delete Then I should see a tab "entries" with more than 0 entries