Skip to content

Commit

Permalink
Tweak order
Browse files Browse the repository at this point in the history
  • Loading branch information
pezholio committed Jun 23, 2015
1 parent 04a8322 commit 2ab7262
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions features/rerun_whole_campaigns.feature
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ Feature: Rerun campaigns
Then I should see 1 dataset
And I should see "1 certificate published"

Scenario: Correct generators are rerun
Given I have a campaign "brian"
And that campaign has 5 certificates
And I visit the campaign page for "brian"
When I click "Rerun campaign"
Then I should be redirected to the campaign page for "brian"
And I should see the correct generators

@sidekiq_fake
Scenario: Rerun campaign button shows correct numbers
Given I have a campaign "brian"
Expand All @@ -46,11 +54,3 @@ Feature: Rerun campaigns
Then I should be redirected to the campaign page for "brian"
And my campaigns should be shown as pending
And I should see 5 datasets

Scenario: Correct generators are rerun
Given I have a campaign "brian"
And that campaign has 5 certificates
And I visit the campaign page for "brian"
When I click "Rerun campaign"
Then I should be redirected to the campaign page for "brian"
And I should see the correct generators

0 comments on commit 2ab7262

Please sign in to comment.