Commit 342f86a9c70ab6cd1df867e8a1053f047a2c06a3
1 parent
a49d8fe5
Exists in
staging
and in
42 other branches
Remove lattes_curriculum's tests with external dependencies
Showing
1 changed file
with
0 additions
and
9 deletions
Show diff stats
plugins/lattes_curriculum/test/unit/html_parser_test.rb
| ... | ... | @@ -12,13 +12,4 @@ class HtmlParserTest < ActiveSupport::TestCase |
| 12 | 12 | should 'be not nil the instance' do |
| 13 | 13 | assert_not_nil @parser |
| 14 | 14 | end |
| 15 | - | |
| 16 | - should 'be not nil the return get_html' do | |
| 17 | - result = @parser.get_html("http://lattes.cnpq.br/2193972715230641") | |
| 18 | - assert result.include?("Endereço para acessar este CV") | |
| 19 | - end | |
| 20 | - | |
| 21 | - should 'inform that lattes was not found' do | |
| 22 | - assert_equal "Lattes not found. Please, make sure the informed URL is correct.", @parser.get_html("http://lattes.cnpq.br/123") | |
| 23 | - end | |
| 24 | 15 | end | ... | ... |