Sha256: 6e71d5ea011591d181f0720189d5bb7903d81848e889e883317aa3a1e83832f2

Contents?: true

Size: 259 Bytes

Versions: 5

Compression:

Stored size: 259 Bytes

Contents

require 'test_helper'

class TestJSONEruby < MiniTest::Unit::TestCase
  test '= and == indicators' do
    template = <<-EOS
<%== 'blah' %>
<%= 'blah' %>
EOS
    eruby = Jason::JSONEruby.new(template)
    assert_equal "blah\n\"blah\"\n", eruby.result
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jason-0.6.0 test/test_json_eruby.rb
jason-0.5.0 test/test_json_eruby.rb
jason-0.4.0 test/test_json_eruby.rb
jason-0.3.1 test/test_json_eruby.rb
jason-0.3.0 test/test_json_eruby.rb