Sha256: 36f1d7c1219601e7b407bc0fd87d19afd4211d6d3ae541d35195ef06cb288a1c
Contents?: true
Size: 505 Bytes
Versions: 7
Compression:
Stored size: 505 Bytes
Contents
# -*- coding: UTF-8 -*- require 'spec_helper' verify = lambda { |output| output.should =~ %r(var crunchy = "bacon") } theories = [ { :page => "javascript-page.js", :simple_name => "javascript-page", :syntax => :javascript, :extension => '.js', :matcher => verify } ] describe Awestruct::Handlers::TiltHandler.to_s + "-JavaScript" do let(:additional_config) { {:interpolate => true, :crunchy => 'bacon'} } it_should_behave_like "a handler", theories end
Version data entries
7 entries across 7 versions & 1 rubygems