Permalink
Browse files

standardize test headers (requires)

  • Loading branch information...
1 parent b58f7a7 commit 95169f9c754834552ec7cd2b9fe2af37f6e8e6bb @databyte databyte committed Jun 28, 2012
Showing with 4 additions and 0 deletions.
  1. +1 −0 test/helpers_test.rb
  2. +1 −0 test/partials_test.rb
  3. +2 −0 test/renderer_test.rb
View
@@ -1,5 +1,6 @@
require 'tmpdir'
require 'pathname'
+require File.expand_path('../teststrap', __FILE__)
require File.expand_path('../../lib/rabl', __FILE__)
class TestHelperMethods
View
@@ -1,5 +1,6 @@
require 'tmpdir'
require 'pathname'
+require File.expand_path('../teststrap', __FILE__)
require File.expand_path('../../lib/rabl', __FILE__)
class TestPartial
View
@@ -1,5 +1,7 @@
require 'tmpdir'
require 'pathname'
+require File.expand_path('../teststrap', __FILE__)
+require File.expand_path('../../lib/rabl', __FILE__)
context "Rabl::Renderer" do
helper(:tmp_path) { @tmp_path ||= Pathname.new(Dir.mktmpdir) }

0 comments on commit 95169f9

Please sign in to comment.