spec/helper.rb in gems-0.7.0 vs spec/helper.rb in gems-0.7.1
- old
+ new
@@ -6,9 +6,15 @@
end
require 'gems'
require 'rspec'
require 'webmock/rspec'
+RSpec.configure do |config|
+ config.expect_with :rspec do |c|
+ c.syntax = :expect
+ end
+end
+
def rubygems_url(url)
url =~ /^http/ ? url : 'https://rubygems.org' + url
end
def a_delete(url)