Sha256: d6b7756edc1dcfcb53746a1e1973a44cc63cbeaf65713f9c70c873e1769acba5
Contents?: true
Size: 468 Bytes
Versions: 20
Compression:
Stored size: 468 Bytes
Contents
require 'zendesk_apps_support' describe ZendeskAppsSupport::Validations::Templates do it 'should have a jslint error when missing semicolon' do template = mock('AppFile', :relative_path => 'layout.hdbs', :read => "<style>") package = mock('Package', :template_files => [template]) errors = ZendeskAppsSupport::Validations::Templates.call(package) errors.first().to_s.should eql "<style> tag in layout.hdbs. Use an app.css file instead." end end
Version data entries
20 entries across 20 versions & 1 rubygems