|
|
@ -623,7 +623,7 @@ RSpec.describe CaseLogsController, type: :request do |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
it "displays a section status for a case log" do |
|
|
|
it "displays a section status for a case log" do |
|
|
|
assert_select ".govuk-tag", text: /Not started/, count: 7 |
|
|
|
assert_select ".govuk-tag", text: /Not started/, count: 6 |
|
|
|
assert_select ".govuk-tag", text: /In progress/, count: 1 |
|
|
|
assert_select ".govuk-tag", text: /In progress/, count: 1 |
|
|
|
assert_select ".govuk-tag", text: /Completed/, count: 0 |
|
|
|
assert_select ".govuk-tag", text: /Completed/, count: 0 |
|
|
|
assert_select ".govuk-tag", text: /Cannot start yet/, count: 1 |
|
|
|
assert_select ".govuk-tag", text: /Cannot start yet/, count: 1 |
|
|
@ -646,7 +646,7 @@ RSpec.describe CaseLogsController, type: :request do |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
it "displays a section status for a case log" do |
|
|
|
it "displays a section status for a case log" do |
|
|
|
assert_select ".govuk-tag", text: /Not started/, count: 7 |
|
|
|
assert_select ".govuk-tag", text: /Not started/, count: 6 |
|
|
|
assert_select ".govuk-tag", text: /Completed/, count: 1 |
|
|
|
assert_select ".govuk-tag", text: /Completed/, count: 1 |
|
|
|
assert_select ".govuk-tag", text: /Cannot start yet/, count: 1 |
|
|
|
assert_select ".govuk-tag", text: /Cannot start yet/, count: 1 |
|
|
|
end |
|
|
|
end |
|
|
|