spec/spec_helper.rb in github_api-0.8.0 vs spec/spec_helper.rb in github_api-0.8.1
- old
+ new
@@ -14,10 +14,10 @@
SimpleCov.coverage_dir 'coverage/rspec'
end
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
-Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
+Dir["#{File.dirname(__FILE__)}/{support,shared}/**/*.rb"].each { |f| require f }
module Github
def reset!
instance_variables.each do |ivar|
instance_variable_set(ivar, nil)