You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2011/08/09 13:13:53 UTC
svn commit: r1155310 - in /incubator/deltacloud/trunk/tests:
ec2/step_definitions/instances_steps.rb sbc/step_definitions/common_steps.rb
Author: mfojtik
Date: Tue Aug 9 11:13:53 2011
New Revision: 1155310
URL: http://svn.apache.org/viewvc?rev=1155310&view=rev
Log:
Removed forgotten puts in cucumber steps
Modified:
incubator/deltacloud/trunk/tests/ec2/step_definitions/instances_steps.rb
incubator/deltacloud/trunk/tests/sbc/step_definitions/common_steps.rb
Modified: incubator/deltacloud/trunk/tests/ec2/step_definitions/instances_steps.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/tests/ec2/step_definitions/instances_steps.rb?rev=1155310&r1=1155309&r2=1155310&view=diff
==============================================================================
--- incubator/deltacloud/trunk/tests/ec2/step_definitions/instances_steps.rb (original)
+++ incubator/deltacloud/trunk/tests/ec2/step_definitions/instances_steps.rb Tue Aug 9 11:13:53 2011
@@ -65,7 +65,6 @@ Then /^this instance should be in '(.+)'
end
Then /^each instance should have address type set to "([^"]*)"$/ do |t|
- puts output_xml
output_xml.xpath('/instances/instance/public_addresses/address').first[:type].should == t
output_xml.xpath('/instances/instance/private_addresses/address').first[:type].should == t
end
@@ -156,6 +155,5 @@ Then /^I set mock scenario to default$/
end
Then /^IP address for this instance should be '([\w\.]+)'$/ do |address|
- puts output_xml.to_s
end
Modified: incubator/deltacloud/trunk/tests/sbc/step_definitions/common_steps.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/tests/sbc/step_definitions/common_steps.rb?rev=1155310&r1=1155309&r2=1155310&view=diff
==============================================================================
--- incubator/deltacloud/trunk/tests/sbc/step_definitions/common_steps.rb (original)
+++ incubator/deltacloud/trunk/tests/sbc/step_definitions/common_steps.rb Tue Aug 9 11:13:53 2011
@@ -5,10 +5,8 @@ end
Given /^I am authorized with my credentials$/ do
#unless CONFIG[:username] == 'sbc_test_username' && CONFIG[:password] == 'sbc_test_password'
- puts 'going to authorize...'
authorize CONFIG[:username], CONFIG[:password]
#end
- puts 'done doing authorize test'
end
When /^I request ([A-Z]+) response$/ do |format|
@@ -40,7 +38,6 @@ end
Given /^each ([A-Za-z_]+) should have properties set to$/ do |object, table|
table.raw.each do |property|
- puts property[0]
(xml/"*/#{object}/#{property[0]}").size.should_not == 0
(xml/"*/#{object}/#{property[0]}").each do |element|
element.text.should == property[1]