Sha256: ceefd1644675b5ca25442a4ec65ef65f3aafd8cf79e2d866127499a5c5cefeda

Contents?: true

Size: 351 Bytes

Versions: 1

Compression:

Stored size: 351 Bytes

Contents

describe Tilt::JsonifyTemplate do
  it 'should be associated with .jsonify files' do
    template = Tilt.new('spec/hello_world.jsonify')
    template.should be_a_kind_of(Tilt::JsonifyTemplate)
  end
  it 'should render the template' do
    template = Tilt.new('spec/hello_world.jsonify')
    template.render.should == "{\"hello\":\"world\"}"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jsonify-0.1.0 spec/jsonify_template_spec.rb