Permalink
Browse files

Update helper require paths for Ruby 1.9.2 compatibility

  • Loading branch information...
1 parent b255f33 commit 553df7920987f0fc7216ed36a474a44c5b34b957 @lardawge lardawge committed Nov 9, 2010
View
2 test/attachment_test.rb
@@ -1,5 +1,5 @@
# encoding: utf-8
-require 'test/helper'
+require './test/helper'
class Dummy
# This is a dummy class
View
2 test/command_line_test.rb
@@ -1,4 +1,4 @@
-require 'test/helper'
+require './test/helper'
class CommandLineTest < Test::Unit::TestCase
def setup
View
2 test/geometry_test.rb
@@ -1,4 +1,4 @@
-require 'test/helper'
+require './test/helper'
class GeometryTest < Test::Unit::TestCase
context "Paperclip::Geometry" do
View
2 test/helper.rb
@@ -53,7 +53,7 @@ def setup
require File.join(ROOT, 'lib', 'paperclip.rb')
-require 'shoulda_macros/paperclip'
+require './shoulda_macros/paperclip'
FIXTURES_DIR = File.join(File.dirname(__FILE__), "fixtures")
config = YAML::load(IO.read(File.dirname(__FILE__) + '/database.yml'))
View
2 test/integration_test.rb
@@ -1,4 +1,4 @@
-require 'test/helper'
+require './test/helper'
class IntegrationTest < Test::Unit::TestCase
context "Many models at once" do
View
2 test/interpolations_test.rb
@@ -1,4 +1,4 @@
-require 'test/helper'
+require './test/helper'
class InterpolationsTest < Test::Unit::TestCase
should "return all methods but the infrastructure when sent #all" do
View
2 test/iostream_test.rb
@@ -1,4 +1,4 @@
-require 'test/helper'
+require './test/helper'
class IOStreamTest < Test::Unit::TestCase
include IOStream
View
2 test/matchers/have_attached_file_matcher_test.rb
@@ -1,4 +1,4 @@
-require 'test/helper'
+require './test/helper'
class HaveAttachedFileMatcherTest < Test::Unit::TestCase
context "have_attached_file" do
View
2 test/matchers/validate_attachment_content_type_matcher_test.rb
@@ -1,4 +1,4 @@
-require 'test/helper'
+require './test/helper'
class ValidateAttachmentContentTypeMatcherTest < Test::Unit::TestCase
context "validate_attachment_content_type" do
View
2 test/matchers/validate_attachment_presence_matcher_test.rb
@@ -1,4 +1,4 @@
-require 'test/helper'
+require './test/helper'
class ValidateAttachmentPresenceMatcherTest < Test::Unit::TestCase
context "validate_attachment_presence" do
View
2 test/matchers/validate_attachment_size_matcher_test.rb
@@ -1,4 +1,4 @@
-require 'test/helper'
+require './test/helper'
class ValidateAttachmentSizeMatcherTest < Test::Unit::TestCase
context "validate_attachment_size" do
View
2 test/paperclip_test.rb
@@ -1,4 +1,4 @@
-require 'test/helper'
+require './test/helper'
class PaperclipTest < Test::Unit::TestCase
context "Calling Paperclip.run" do
View
2 test/processor_test.rb
@@ -1,4 +1,4 @@
-require 'test/helper'
+require './test/helper'
class ProcessorTest < Test::Unit::TestCase
should "instantiate and call #make when sent #make to the class" do
View
2 test/storage_test.rb
@@ -1,4 +1,4 @@
-require 'test/helper'
+require './test/helper'
require 'aws/s3'
class StorageTest < Test::Unit::TestCase
View
2 test/style_test.rb
@@ -1,5 +1,5 @@
# encoding: utf-8
-require 'test/helper'
+require './test/helper'
class StyleTest < Test::Unit::TestCase
View
2 test/thumbnail_test.rb
@@ -1,4 +1,4 @@
-require 'test/helper'
+require './test/helper'
class ThumbnailTest < Test::Unit::TestCase
View
2 test/upfile_test.rb
@@ -1,4 +1,4 @@
-require 'test/helper'
+require './test/helper'
class UpfileTest < Test::Unit::TestCase
{ %w(jpg jpe jpeg) => 'image/jpeg',

0 comments on commit 553df79

Please sign in to comment.