@@ -70,7 +70,7 @@ def test_search_binary_release_in_fixtures
7070 assert_response :success
7171 assert_xml_tag :tag => "binary" , :attributes => { :project => "BaseDistro3" , :repository => "BaseDistro3_repo" , :name => "package" , :version => "1.0" , :release => "1" , :arch => "i586" , :medium => "DVD" }
7272 assert_xml_tag :tag => "updatefor" , :attributes => { project : "BaseDistro" , product : "fixed" }
73- assert_xml_tag :tag => "product" , :attributes => { project : "BaseDistro" , name : "fixed" , medium : "DVD " }
73+ assert_xml_tag :tag => "product" , :attributes => { project : "BaseDistro" , name : "fixed" , version : "1.2 " }
7474 get '/search/released/binary' , match : "product/[@project = 'BaseDistro' and @name = 'fixed' and @medium = 'DVD']"
7575 assert_response :success
7676 assert_xml_tag :tag => "binary" , :attributes => { :project => "BaseDistro3" , :repository => "BaseDistro3_repo" , :name => "package" , :version => "1.0" , :release => "1" , :arch => "i586" , :medium => "DVD" }
@@ -86,7 +86,7 @@ def test_search_binary_release_in_fixtures
8686 assert_response :success
8787 assert_xml_tag :tag => "binary" , :attributes => { :project => "BaseDistro3" , :repository => "BaseDistro3_repo" , :name => "package" , :version => "1.0" , :release => "1" , :arch => "i586" }
8888 assert_xml_tag :tag => "updatefor" , :attributes => { project : "BaseDistro" , product : "fixed" }
89- assert_xml_tag :tag => "product" , :attributes => { project : "BaseDistro" , name : "fixed" , medium : "DVD " }
89+ assert_xml_tag :tag => "product" , :attributes => { project : "BaseDistro" , name : "fixed" , version : "1.2 " }
9090
9191 end
9292
0 commit comments