test/unit/container_test.rb in apotomo-0.1.2 vs test/unit/container_test.rb in apotomo-0.1.3
- old
+ new
@@ -1,6 +1,6 @@
-require File.join(File.dirname(__FILE__), *%w[.. test_helper])
+require 'test_helper'
class ContainerTest < Test::Unit::TestCase
context "Rendering a container" do
setup do
@family = container('family')
@@ -15,6 +15,6 @@
@family << mouse_mock('mum')
@family << mouse_mock('kid')
assert_equal "<div id=\"family\"><div id=\"mum\">burp!</div>\n<div id=\"kid\">burp!</div></div>", @family.invoke
end
end
-end
\ No newline at end of file
+end