Guest User

Untitled

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