Sha256: 415a4b787f46a32353f27542b869f869763ae8a3e2797a68765145d0ca22ecce
Contents?: true
Size: 343 Bytes
Versions: 4
Compression:
Stored size: 343 Bytes
Contents
describe Jsonify::Template do it 'should be associated with .jsonify files' do template = Tilt.new('spec/hello_world.jsonify') template.should be_a_kind_of(Jsonify::Template) end it 'should render the template' do template = Tilt.new('spec/hello_world.jsonify') template.render.should == "{\"hello\":\"world\"}" end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
jsonify-0.2.0 | spec/template_spec.rb |
jsonify-0.1.3 | spec/template_spec.rb |
jsonify-0.1.2 | spec/template_spec.rb |
jsonify-0.1.1 | spec/template_spec.rb |