Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

standardize test headers (requires)

  • Loading branch information...
commit 95169f9c754834552ec7cd2b9fe2af37f6e8e6bb 1 parent b58f7a7
@databyte databyte authored
View
1  test/helpers_test.rb
@@ -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  test/partials_test.rb
@@ -1,5 +1,6 @@
require 'tmpdir'
require 'pathname'
+require File.expand_path('../teststrap', __FILE__)
require File.expand_path('../../lib/rabl', __FILE__)
class TestPartial
View
2  test/renderer_test.rb
@@ -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) }
Please sign in to comment.
Something went wrong with that request. Please try again.