chore: remove lowell seeding rules

This commit is contained in:
Nelson Jovel 2023-12-20 14:03:15 -08:00
parent b88c4e0ab5
commit e7f06ef4e9
5 changed files with 5 additions and 62 deletions

View file

@ -3,7 +3,6 @@ require "#{Rails.root}/app/lib/seeder"
describe Seeder do
let(:seeder) { Seeder.new }
let(:lowell_seeder) { Seeder.new rules: [Rule::SeedOnlyLowell] }
after :each do
DatabaseCleaner.clean
@ -98,17 +97,6 @@ describe Seeder do
expect(SurveyItemResponse.where(id: removed_survey_item_response)).not_to exist
end
end
context "when passing a rule to only load lowell schools" do
it "only loads lowell schools" do
expect do
lowell_seeder.seed_districts_and_schools sample_districts_and_schools_csv
end.to change { District.count }.by(1)
.and change {
School.count
}.by(1)
end
end
end
# context 'respondents' do