Commit 27953f726c160ad6268efa15393028a0cbf9cc59

Authored by Gabriela Navarro
Committed by David Silva
1 parent d0ce2a13

Removing unnecessary test for download list of softwares

Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
Signed-off-by: Parley Martins <parley@outlook.com>
test/functional/mpog_software_plugin_controller_test.rb
@@ -108,17 +108,6 @@ class MpogSoftwarePluginControllerTest &lt; ActionController::TestCase @@ -108,17 +108,6 @@ class MpogSoftwarePluginControllerTest &lt; ActionController::TestCase
108 assert_equal "false", @response.body 108 assert_equal "false", @response.body
109 end 109 end
110 110
111 - should "response as XML to export softwares" do  
112 - get :download, :format => 'xml'  
113 - assert_equal 'text/xml', @response.content_type  
114 - end  
115 -  
116 - should "response as CSV to export softwares" do  
117 - get :download, :format => 'csv'  
118 - assert_equal 'text/csv', @response.content_type  
119 - assert_equal "name;acronym;demonstration_url;e_arq;e_mag;e_ping;features;icp_brasil;objectives;operating_platform\n", @response.body  
120 - end  
121 -  
122 should "hide registration incomplete message" do 111 should "hide registration incomplete message" do
123 xhr :get, :hide_registration_incomplete_percentage, :hide=>true 112 xhr :get, :hide_registration_incomplete_percentage, :hide=>true
124 assert_equal "true", @response.body 113 assert_equal "true", @response.body