Sha256: 4dc93f71849ac1ff693b2239ff612995bb460c921bb88b00cca53d0a0bf35960

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 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

1 entries across 1 versions & 1 rubygems

Version Path
presenting-2.0.0 test/presenting_test.rb