Code Monkey home page Code Monkey logo

Comments (3)

owahab avatar owahab commented on July 18, 2024

My little quick dirty hack to get around this:

diff --git a/Rakefile b/Rakefile
index f25675f..8243676 100644
--- a/Rakefile
+++ b/Rakefile
@@ -9,6 +9,7 @@ task :default => :test
 desc 'Test the paperclip plugin.'
 Rake::TestTask.new(:test) do |t|
   t.libs << 'lib'
+  t.libs << 'test'
   t.pattern = 'test/**/*_test.rb'
   t.verbose = true
 end
diff --git a/test/delayed_paperclip_test.rb b/test/delayed_paperclip_test.rb
index e7c0165..87634ba 100644
--- a/test/delayed_paperclip_test.rb
+++ b/test/delayed_paperclip_test.rb
@@ -1,4 +1,4 @@
-require 'test/test_helper'
+require 'test_helper'
 require 'delayed_job'
 Delayed::Worker.backend = :active_record

diff --git a/test/resque_paperclip_test.rb b/test/resque_paperclip_test.rb
index 8125e02..c99c766 100644
--- a/test/resque_paperclip_test.rb
+++ b/test/resque_paperclip_test.rb
@@ -1,4 +1,4 @@
-require 'test/test_helper'
+require 'test_helper'
 gem 'resque'
 require 'resque'

from delayed_paperclip.

jstorimer avatar jstorimer commented on July 18, 2024

Yeah, this is the proper way to do it. Want to provide a pull request or format this with git-format-patch so you can get credit for it?

from delayed_paperclip.

owahab avatar owahab commented on July 18, 2024

Of course not, just commit it please.

from delayed_paperclip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.