Skip to content

Commit 0725649

Browse files
committed
test fix: add school_roll_number to the expected JSON fields in the test
1 parent 5e1c3ca commit 0725649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/features/my_school/showing_my_school_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
it "includes the school details and user's roles in the JSON" do
2020
school_json = school.to_json(only: %i[
21-
id name website reference address_line_1 address_line_2 municipality administrative_area postal_code country_code code verified_at created_at updated_at district_name district_nces_id
21+
id name website reference address_line_1 address_line_2 municipality administrative_area postal_code country_code code verified_at created_at updated_at district_name district_nces_id school_roll_number
2222
])
2323
expected_data = JSON.parse(school_json, symbolize_names: true).merge(roles: ['owner'], import_in_progress: school.import_in_progress?)
2424

0 commit comments

Comments
 (0)