Commit 9831c7500812cf5455577ef935a5715b4b34289a
1 parent
6fc6797b
Exists in
master
and in
10 other branches
Remove unnecessary test case on software_community
Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com> Signed-off-by: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>
Showing
1 changed file
with
1 additions
and
12 deletions
Show diff stats
src/noosfero-spb/software_communities/test/unit/software_info_test.rb
... | ... | @@ -15,18 +15,7 @@ class SoftwareInfoValidationTest < ActiveSupport::TestCase |
15 | 15 | assert_equal @software_info.license_info, @license_info |
16 | 16 | end |
17 | 17 | |
18 | - should "Return license_info with nil id when license is 'Another'" do | |
19 | - @software_info = create_software_info("software_test") | |
20 | - @license_another = create_license_info("Another") | |
21 | - | |
22 | - @software_info.license_info = @license_another | |
23 | - @software_info.save! | |
24 | - | |
25 | - assert_equal @software_info.license_info_id, @license_another.id | |
26 | - assert_equal @software_info.license_info.id, nil | |
27 | - end | |
28 | - | |
29 | - should "Return fake license_info when call method another_license" do | |
18 | + should "Return license_info with another values" do | |
30 | 19 | @software_info = create_software_info("software_test") |
31 | 20 | @license_another = create_license_info("Another") |
32 | 21 | ... | ... |