Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changes to allow tests to run in RubyMine.

  • Loading branch information...
commit f7d87376327984f3e2cac655221843a6febacf98 1 parent 90ab69a
@nirvdrum authored
View
4 lib/acts_as_amazon_product.rb
@@ -1,10 +1,10 @@
# ActsAsAmazonProduct
require 'rubygems'
-#require 'active_support'
require 'active_record'
require 'amazon/ecs'
-require 'amazon_product'
+require File.expand_path(File.dirname(__FILE__) + "/amazon_product")
+
module Netphase
module Acts #:nodoc:
View
3  test/acts_as_amazon_product_test.rb
@@ -1,6 +1,9 @@
require 'test/unit'
require 'yaml'
+require 'rubygems'
+require 'activerecord'
+require File.expand_path(File.dirname(__FILE__) + "/../lib/amazon_product")
require File.expand_path(File.dirname(__FILE__) + "/../lib/acts_as_amazon_product")
#require File.expand_path(File.dirname(__FILE__) + "/../init")
Please sign in to comment.
Something went wrong with that request. Please try again.