$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rspec' require 'mememe' require 'pry' require 'pry-nav' require 'pry-doc' # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} RSpec.configure do |config| end LIB_PATH = File.expand_path('../lib', File.dirname(__FILE__)) IMAGES_PATH = File.join(LIB_PATH, 'mememe', 'images') FIXTURES_PATH = File.join(File.expand_path(File.dirname(__FILE__)), 'fixtures') TMP_DIR = File.join(File.expand_path(File.dirname(__FILE__)), 'temp') # :first_world_problem=>"/Volumes/Storage/Development/mememe/lib/mememe/images/first_world_problem.png", :not_sure=>"/Volumes/Storage/Development/mememe/lib/mememe/images/not_sure.jpg", :spoke_to_joe=>"/Volumes/Storage/Development/mememe/lib/mememe/images/spoke_to_joe.jpg", :success_kid=>"/Volumes/Storage/Development/mememe/lib/mememe/images/success_kid.jpg", :sudden_clarity=>"/Volumes/Storage/Development/mememe/lib/mememe/images/sudden_clarity.jpg"}