spec/spec_helper.rb in github_api-0.1.1 vs spec/spec_helper.rb in github_api-0.1.2

- old
+ new

@@ -62,5 +62,13 @@ def fixture(file) File.new(File.join(fixture_path, '/', file)) end OAUTH_TOKEN = 'bafec72922f31fe86aacc8aca4261117f3bd62cf' + +class Hash + def except(*keys) + cpy = self.dup + keys.each { |key| cpy.delete(key) } + cpy + end +end