Skip to content

Commit

Permalink
We're no longer queuing here
Browse files Browse the repository at this point in the history
  • Loading branch information
pezholio committed Jun 23, 2015
1 parent 8171407 commit fdd2f90
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions features/rerun_whole_campaigns.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,6 @@ Feature: Rerun campaigns
Background:
Given I am signed in as the API user

Scenario: Rerun campaign button queues correctly
Given I have a campaign "brian"
And that campaign has 5 certificates
And I visit the campaign page for "brian"
Then the campaign should be queued to be rerun
When I click "Rerun campaign"
And I should be redirected to the campaign page for "brian"
And I should see "Campaign queued for rerun"
And I should see "5 datasets inspected"
And I should see 5 datasets

Scenario: Rerun campaign button queues each individual generator
Given I have a campaign "brian"
And that campaign has 5 certificates
Expand All @@ -37,6 +26,17 @@ Feature: Rerun campaigns
Then I should see 1 dataset
And I should see "1 certificate published"

@sidekiq_fake
Scenario: Rerun campaign button shows correct numbers
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 "Campaign queued for rerun"
And I should see "5 datasets inspected"
And I should see 5 datasets

@sidekiq_fake
Scenario: Campaigns show as pending after rerun
Given I have a campaign "brian"
Expand Down

0 comments on commit fdd2f90

Please sign in to comment.