Skip to content

Commit 912ec39

Browse files
committed
Remove unneeded test
1 parent 906510c commit 912ec39

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

spec/models/school_spec.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,6 @@
241241
expect(duplicate_school).not_to be_valid
242242
end
243243

244-
it 'returns error if district_nces_id is not unique' do
245-
duplicate_school = build(:school, country_code: 'US', district_nces_id: '0100000')
246-
duplicate_school.valid?
247-
expect(duplicate_school.errors.details[:district_nces_id]).to include(hash_including(error: :taken))
248-
end
249-
250244
it 'accepts a valid district_nces_id format (7 digits)' do
251245
us_school.district_nces_id = '0100000'
252246
expect(us_school).to be_valid

0 commit comments

Comments
 (0)