2012-02-22 18:14:00 +00:00
|
|
|
require 'test_helper'
|
|
|
|
|
2012-02-27 13:49:34 +00:00
|
|
|
class TestCompiledTemplate < ActiveSupport::TestCase
|
2012-02-22 18:14:00 +00:00
|
|
|
|
2012-02-27 13:49:34 +00:00
|
|
|
setup do
|
|
|
|
@context = Context.new
|
|
|
|
@user = User.new
|
|
|
|
@context.set_assign('user', @user)
|
|
|
|
@template = RablFastJson::CompiledTemplate.new
|
|
|
|
@template.context = @context
|
|
|
|
end
|
2012-02-22 18:14:00 +00:00
|
|
|
end
|