require File.join(File.dirname(__FILE__), *%w[.. test_helper]) class ContainerTest < Test::Unit::TestCase context "Rendering a container" do setup do @family = container('family') @family.controller = @controller end should "return an empty view if childless" do assert_equal "
", @family.invoke end should "provide a family picture" do @family << mouse_mock('mum') @family << mouse_mock('kid') assert_equal "