Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Feature: Exporting reportable diseases for the CDC
- Administrators need to be able send data to the CDC about a
- particular set of reportable diseases.
- Scenario: Exporting a new record to the CDC # features/standard/cdc_export.feature:6
- Given I am logged in as a super user # features/standard_step_definitions/common_helper_steps.rb:22
- And the disease "Brucellosis" with the cdc code "10020" # features/standard_step_definitions/disease_steps.rb:1
- And the disease "Brucellosis" exports to CDC when state is "Confirmed" # features/standard_step_definitions/disease_steps.rb:5
- And a morbidity event exists with the disease Brucellosis # features/shared_step_definitions/event_steps.rb:22
- And the morbidity event state case status is "Confirmed" # features/standard_step_definitions/event_steps.rb:54
- When I go to the CDC export for the current week # features/standard_step_definitions/webrat_steps.rb:27
- Then I should see "V491002000001" # features/standard_step_definitions/webrat_steps.rb:110
- And I should see "M 4909000(.*)10020" # features/standard_step_definitions/webrat_steps.rb:110
- expected: /M 4909000(.*)10020/m,
- got: "V49100200000109\nM 4909001199S015110020000019999999999900099990912221999\n" (using =~)
- Diff:
- @@ -1,2 +1,2 @@
- -/M 4909000(.*)10020/m
- +"V49100200000109\nM 4909001199S015110020000019999999999900099990912221999\n"
- (Spec::Expectations::ExpectationNotMetError)
- features/standard/cdc_export.feature:14:in `And I should see "M 4909000(.*)10020"'
- Failing Scenarios:
- cucumber features/standard/cdc_export.feature:6 # Scenario: Exporting a new record to the CDC
Add Comment
Please, Sign In to add comment