fixes specs

This commit is contained in:
rgarcia
2017-02-08 12:21:28 +01:00
committed by Javi Martín
parent ac58b87036
commit cc4eed3500
5 changed files with 24 additions and 28 deletions

View File

@@ -21,4 +21,9 @@ module CommonActions
check "user_terms_of_service"
end
def validate_officer
allow_any_instance_of(Officing::ResidenceController).
to receive(:validate_officer_assignment).and_return(true)
end
end