We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72faadb commit e07f43aCopy full SHA for e07f43a
1 file changed
spec/services/school_verification_service_spec.rb
@@ -36,6 +36,16 @@
36
it 'returns true' do
37
expect(service.verify).to be(true)
38
end
39
+
40
+ it 'grants the creator the owner role for the school' do
41
+ service.verify(token:)
42
+ expect(school_creator).to be_school_owner(school)
43
+ end
44
45
+ it 'grants the creator the teacher role for the school' do
46
47
+ expect(school_creator).to be_school_teacher(school)
48
49
50
51
describe 'when school cannot be saved' do
0 commit comments