spec/spec_helper.rb in checksummer-0.2.6 vs spec/spec_helper.rb in checksummer-0.3.0
- old
+ new
@@ -1,13 +1,21 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'checksummer'
require "ruby-debug"
+require "dynport_tools"
# 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|
-
+ config.include(DynportTools::HaveAttributesMatcher)
end
+
+def root
+ Pathname.new(File.expand_path("../", File.dirname(__FILE__)))
+end
+
+require "timecop"
\ No newline at end of file