spec/helpers/ec2-helper-spec.rb in boxgrinder-build-0.9.4 vs spec/helpers/ec2-helper-spec.rb in boxgrinder-build-0.9.5
- old
+ new
@@ -28,11 +28,11 @@
before(:each) do
AWS.stub!
AWS.config({:access_key_id => '', :secret_access_key => ''})
@ec2 = AWS::EC2.new()
- @ec2helper = EC2Helper.new(@ec2)
+ @ec2helper = EC2Helper.new(@ec2, :log => LogHelper.new(:level => :trace, :type => :stdout))
@ami = mock(AWS::EC2::Image)
@instance = mock(AWS::EC2::Instance)
@snapshot = mock(AWS::EC2::Snapshot)
@volume = mock(AWS::EC2::Volume)
end
@@ -255,6 +255,6 @@
mock_param.stub!(:body).and_return('')
klass.new(mock_param, mock_param)
end
end
-end
\ No newline at end of file
+end