Sha256: 029117445cf2e9c0c2557bbb701a5707ee57b0940f0c34b972c55aa188290014

Contents?: true

Size: 656 Bytes

Versions: 10

Compression:

Stored size: 656 Bytes

Contents

require 'test_helper'

class RenderingTest < Zena::View::TestCase
  def self.layout(*args); ''; end # Called by Rendering::ControllerMethods
  include Zena::Use::Rendering::ControllerMethods
  include Zena::Use::Zafu::ControllerMethods # template_url
  include Zena::Acts::Secure # secure

  def params;  {}; end
  def dev_mode?; false; end
  def lang;  'en'; end
  def zafu_helper; self; end
  def method_missing(*args); ''; end

  def setup
    super
    @node = secure!(Node) { Node.new }
  end

  def test_admin_layout_should_be_a_relative_path_in_sites
    assert_equal "/test.host/zafu/default/Node-+adminLayout/en/_main.erb", admin_layout
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
zena-0.16.9 test/unit/zena/use/rendering_test.rb
zena-0.16.8 test/unit/zena/use/rendering_test.rb
zena-0.16.7 test/unit/zena/use/rendering_test.rb
zena-0.16.6 test/unit/zena/use/rendering_test.rb
zena-0.16.5 test/unit/zena/use/rendering_test.rb
zena-0.16.4 test/unit/zena/use/rendering_test.rb
zena-0.16.3 test/unit/zena/use/rendering_test.rb
zena-0.16.2 test/unit/zena/use/rendering_test.rb
zena-0.16.1 test/unit/zena/use/rendering_test.rb
zena-0.16.0 test/unit/zena/use/rendering_test.rb