• Arturo Herrero's avatar
    Return only available service templates · 72e172f0
    Arturo Herrero authored
    Before, the scenario of removing one service type implies a migration
    script to delete the service from the database, otherwise, we will have
    an ActiveRecord::SubclassNotFound error.
    
    The new code doesn't assume that the previous available service type
    records are removed from the database.
    72e172f0
service_spec.rb 17.4 KB