Skip to content

Commit

Permalink
Update helper require paths for Ruby 1.9.2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
lardawge committed Nov 9, 2010
1 parent b255f33 commit 553df79
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion test/attachment_test.rb
@@ -1,5 +1,5 @@
# encoding: utf-8
require 'test/helper'
require './test/helper'

class Dummy
# This is a dummy class
Expand Down
2 changes: 1 addition & 1 deletion test/command_line_test.rb
@@ -1,4 +1,4 @@
require 'test/helper'
require './test/helper'

class CommandLineTest < Test::Unit::TestCase
def setup
Expand Down
2 changes: 1 addition & 1 deletion test/geometry_test.rb
@@ -1,4 +1,4 @@
require 'test/helper'
require './test/helper'

class GeometryTest < Test::Unit::TestCase
context "Paperclip::Geometry" do
Expand Down
2 changes: 1 addition & 1 deletion test/helper.rb
Expand Up @@ -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'))
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion test/iostream_test.rb
@@ -1,4 +1,4 @@
require 'test/helper'
require './test/helper'

class IOStreamTest < Test::Unit::TestCase
include IOStream
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
@@ -1,4 +1,4 @@
require 'test/helper'
require './test/helper'

class ValidateAttachmentContentTypeMatcherTest < Test::Unit::TestCase
context "validate_attachment_content_type" do
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion test/paperclip_test.rb
@@ -1,4 +1,4 @@
require 'test/helper'
require './test/helper'

class PaperclipTest < Test::Unit::TestCase
context "Calling Paperclip.run" do
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion test/storage_test.rb
@@ -1,4 +1,4 @@
require 'test/helper'
require './test/helper'
require 'aws/s3'

class StorageTest < Test::Unit::TestCase
Expand Down
2 changes: 1 addition & 1 deletion test/style_test.rb
@@ -1,5 +1,5 @@
# encoding: utf-8
require 'test/helper'
require './test/helper'

class StyleTest < Test::Unit::TestCase

Expand Down
2 changes: 1 addition & 1 deletion test/thumbnail_test.rb
@@ -1,4 +1,4 @@
require 'test/helper'
require './test/helper'

class ThumbnailTest < Test::Unit::TestCase

Expand Down
2 changes: 1 addition & 1 deletion 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',
Expand Down

0 comments on commit 553df79

Please sign in to comment.