spec/spec_helper.rb in ruby_ami-1.3.4 vs spec/spec_helper.rb in ruby_ami-2.0.0

- old
+ new

@@ -1,19 +1,18 @@ # encoding: utf-8 require 'ruby_ami' -require 'countdownlatch' Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f} include RubyAMI RSpec.configure do |config| - config.mock_with :mocha + config.mock_with :rspec config.filter_run :focus => true config.run_all_when_everything_filtered = true config.before :each do uuid = RubyAMI.new_uuid - RubyAMI.stubs :new_uuid => uuid + RubyAMI.stub :new_uuid => uuid end end