Permalink
Browse files

Changes to allow tests to run in RubyMine.

  • Loading branch information...
1 parent 90ab69a commit f7d87376327984f3e2cac655221843a6febacf98 @nirvdrum committed Mar 29, 2009
Showing with 5 additions and 2 deletions.
  1. +2 −2 lib/acts_as_amazon_product.rb
  2. +3 −0 test/acts_as_amazon_product_test.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:
@@ -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")

0 comments on commit f7d8737

Please sign in to comment.