[Git][noosfero/noosfero][master] 2 commits: Remove lattes_curriculum's tests with external dependencies

Antonio Terceiro gitlab at gitlab.com
Tue Jul 21 11:59:05 BRT 2015


Antonio Terceiro pushed to branch master at Noosfero / noosfero


Commits:
342f86a9 by Arthur Del Esposte at 2015-07-21T14:54:45Z
Remove lattes_curriculum's tests with external dependencies

- - - - -
7e5512ff by Antonio Terceiro at 2015-07-21T14:58:41Z
Merge branch 'lattes_fix' into 'master'

Remove lattes_curriculum's tests with external dependencies

See merge request !630

- - - - -


1 changed file:

- plugins/lattes_curriculum/test/unit/html_parser_test.rb


Changes:

=====================================
plugins/lattes_curriculum/test/unit/html_parser_test.rb
=====================================
--- a/plugins/lattes_curriculum/test/unit/html_parser_test.rb
+++ b/plugins/lattes_curriculum/test/unit/html_parser_test.rb
@@ -12,13 +12,4 @@ class HtmlParserTest < ActiveSupport::TestCase
   should 'be not nil the instance' do
     assert_not_nil @parser
   end
-
-  should 'be not nil the return get_html' do
-    result = @parser.get_html("http://lattes.cnpq.br/2193972715230641")
-    assert result.include?("Endereço para acessar este CV")
-  end
-
-  should 'inform that lattes was not found' do
-    assert_equal "Lattes not found. Please, make sure the informed URL is correct.", @parser.get_html("http://lattes.cnpq.br/123")
-  end
 end



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/a49d8fe5f9d802bb829e0e63fd8cf18aaeb61bc8...7e5512ff6b319846a912ae29a1ddcc75b82570d4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150721/a8ab66e8/attachment.html>


More information about the Noosfero-dev mailing list