spec/spec_helper.rb in ruby_ami-1.2.0 vs spec/spec_helper.rb in ruby_ami-1.2.1
- old
+ new
@@ -28,9 +28,9 @@
config.mock_with :mocha
config.filter_run :focus => true
config.run_all_when_everything_filtered = true
config.before :each do
- uuid = UUIDTools::UUID.random_create
- UUIDTools::UUID.stubs :random_create => uuid
+ uuid = RubyAMI.new_uuid
+ RubyAMI.stubs :new_uuid => uuid
end
end