Skip to content

Commit d3957b2

Browse files
Fix tests
1 parent 22a941d commit d3957b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/components/dashboard_component/dashboard_component.html.slim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
h2 class="govuk-heading-m govuk-!-margin-bottom-3 govuk-!-margin-top-1" = sorted_by_string
2727
div class="right"
2828
= render SortComponent.new(path: method(:organisation_jobs_with_type_path), sort: @sort, url_params: { type: @selected_type }, display_type: "inline-select")
29-
29+
3030
- if @organisation.school_group?
3131
.govuk-grid-column-one-third-at-desktop class="govuk-!-margin-bottom-4"
3232
- if @organisation.local_authority?

spec/system/publishers/publishers_can_filter_vacancies_in_their_dashboard_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
visit organisation_jobs_with_type_path(:live)
2626
# wait for page load
2727
find(".dashboard-component")
28-
find("a[href='/organisation/jobs?sort_by=job_title']")
28+
find("select[name='sort_by']")
2929
end
3030

3131
it "passes a11y", :a11y do

0 commit comments

Comments
 (0)