spec/spec_helper.rb in payday-1.1.1 vs spec/spec_helper.rb in payday-1.1.2
- old
+ new
@@ -1,10 +1,9 @@
-require 'rubygems'
-require 'bundler/setup'
+require_relative '../lib/payday'
-require 'payday'
-require 'date'
-require 'time'
+# Requires supporting ruby files with custom matchers and macros, etc, in
+# spec/support/ and its subdirectories.
+Dir["spec/support/**/*.rb"].each { |f| require f[5..-1] }
RSpec.configure do |config|
# some (optional) config here
end