Commit 27953f726c160ad6268efa15393028a0cbf9cc59
Committed by
David Silva
1 parent
d0ce2a13
Exists in
master
and in
5 other branches
Removing unnecessary test for download list of softwares
Signed-off-by: Gabriela Navarro <navarro1703@gmail.com> Signed-off-by: Parley Martins <parley@outlook.com>
Showing
1 changed file
with
0 additions
and
11 deletions
Show diff stats
test/functional/mpog_software_plugin_controller_test.rb
| ... | ... | @@ -108,17 +108,6 @@ class MpogSoftwarePluginControllerTest < ActionController::TestCase |
| 108 | 108 | assert_equal "false", @response.body |
| 109 | 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 | 111 | should "hide registration incomplete message" do |
| 123 | 112 | xhr :get, :hide_registration_incomplete_percentage, :hide=>true |
| 124 | 113 | assert_equal "true", @response.body | ... | ... |