Commit 9831c7500812cf5455577ef935a5715b4b34289a

Authored by Luciano Prestes
1 parent 6fc6797b

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>
src/noosfero-spb/software_communities/test/unit/software_info_test.rb
... ... @@ -15,18 +15,7 @@ class SoftwareInfoValidationTest &lt; 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  
... ...