|
|
@ -449,7 +449,7 @@ RSpec.describe "Test Features" do |
|
|
|
|
|
|
|
|
|
|
|
describe "conditional page routing", js: true do |
|
|
|
describe "conditional page routing", js: true do |
|
|
|
before do |
|
|
|
before do |
|
|
|
allow_any_instance_of(CaseLogValidator).to receive(:validate_household_pregnancy).and_return(true) |
|
|
|
allow_any_instance_of(CaseLogValidator).to receive(:validate_pregnancy).and_return(true) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
it "can route the user to a different page based on their answer on the current page" do |
|
|
|
it "can route the user to a different page based on their answer on the current page" do |
|
|
|