diff --git a/spec/system/journey_spec.rb b/spec/system/journey_spec.rb index 70477f8a..1c31d0af 100644 --- a/spec/system/journey_spec.rb +++ b/spec/system/journey_spec.rb @@ -57,7 +57,7 @@ describe "District Admin", js: true do respondent.save end - before do + before :each do Rails.application.load_seed respondents @@ -102,10 +102,6 @@ describe "District Admin", js: true do SurveyItemResponse.import survey_item_responses end - after do - DatabaseCleaner.clean - end - it "navigates through the site" do page.driver.basic_authorize(username, password) @@ -192,8 +188,6 @@ def go_to_different_year(year) select year.formatted_range, from: "select-academic-year" end -def got_to_analyze_page; end - def district_admin_sees_schools_change expected_path = "/districts/#{school_in_same_district.district.slug}/schools/#{school_in_same_district.slug}/browse/teachers-and-leadership?year=#{ay_2021_22.range}" expect(page).to have_current_path(expected_path)