Sha256: 4f8e47586cc7a82981e3d21b3de4cf7987e3997d67ed359582460051fb0996fc

Contents?: true

Size: 421 Bytes

Versions: 5

Compression:

Stored size: 421 Bytes

Contents

require File.dirname(__FILE__) + '/test_helper'

class PresentationTest < Test::Unit::TestCase
  
  def test_rendering
    # TODO: create a "hello world" test-only setup so i can test rendering
    @p = Presentation::Grid.new(:id => "hello_world")
    @p.presentable = []
    @p.controller = ActionView::TestCase::TestController.new
    assert_nothing_raised do
      assert @p.render
    end
  end
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
presenting-3.0.0 test/presenting_test.rb
presenting-2.1.0 test/presenting_test.rb
presenting-2.0.3 test/presenting_test.rb
presenting-2.0.2 test/presenting_test.rb
presenting-2.0.1 test/presenting_test.rb