Skip to content

Commit 10f9fea

Browse files
committed
Add missing test for SchoolVerificationService
The creation of the teacher role was added in PR #299 but not tested.
1 parent d515fba commit 10f9fea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/services/school_verification_service_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
it 'grants the creator the owner role for the school' do
2323
expect(school_creator).to be_school_owner(school)
2424
end
25+
26+
it 'grants the creator the teacher role for the school' do
27+
expect(school_creator).to be_school_teacher(school)
28+
end
2529
end
2630

2731
describe '#reject' do

0 commit comments

Comments
 (0)