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:10:41 UTC

svn commit: r1155308 - /incubator/deltacloud/trunk/tests/sbc/step_definitions/common_steps.rb

Author: mfojtik
Date: Tue Aug  9 11:10:41 2011
New Revision: 1155308

URL: http://svn.apache.org/viewvc?rev=1155308&view=rev
Log:
SBC: Fixed cucumber steps

Modified:
    incubator/deltacloud/trunk/tests/sbc/step_definitions/common_steps.rb

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=1155308&r1=1155307&r2=1155308&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:10:41 2011
@@ -24,9 +24,9 @@ end
 
 Given /^result should be valid ([A-Z]+)$/ do |format|
   if format == 'HTML'
-    last_response.body.should =~ /^\<\!DOCTYPE html PUBLIC/
+    last_response.body.should =~ /^\<\!DOCTYPE html/
   else
-    last_response.body.should_not =~ /^\<\!DOCTYPE html PUBLIC/
+    last_response.body.should_not =~ /^\<\!DOCTYPE html/
   end
 end
 
@@ -75,4 +75,4 @@ end
 
 Then /^([a-z_]+) of this ([A-Za-z_]+) should be ([\.0-9a-zA-Z_-]+)$/ do |property, object, value|
   (xml/"/#{object}/#{property}").text.strip.should == value.strip
-end
\ No newline at end of file
+end