Sha256: 8691626797eb69c350b86b1d2c8fc39abe16c16df908fd74959bde2d8ef195c4
Contents?: true
Size: 619 Bytes
Versions: 2
Compression:
Stored size: 619 Bytes
Contents
#!/usr/bin/env ruby $LOAD_PATH.unshift(File.dirname(__FILE__)+ '/extra') require 'test/unit' require 'test/unit/assertions' require 'caller' require 'breakpoint' require 'active_record' require 'action_controller' require File.dirname(__FILE__) + '/../lib/liquid' ActiveRecord::Base.establish_connection( :adapter => "sqlite3", :database => ":memory:" ) module Test module Unit module Assertions include Liquor def assert_template_result(expected, template, assigns={}, message=nil) assert_equal expected, Template.parse(template).render(assigns) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
liquor-0.1.1 | test/test_helper.rb |
liquor-0.1.0 | test/test_helper.rb |