Commit 316649c797cc805dfff4ffa938e6ad1c82496e26

Authored by Gust
1 parent 0279e0af

Fix offertant functional test

Signed-off-by: Gustavo Jaruga <darksshades@gmail.com>
Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
test/functional/mpog_software_plugin_myprofile_controller_test.rb
@@ -34,7 +34,7 @@ class MpogSoftwarePluginMyprofileControllerTest &lt; ActionController::TestCase @@ -34,7 +34,7 @@ class MpogSoftwarePluginMyprofileControllerTest &lt; ActionController::TestCase
34 @software = create_software @hash_list 34 @software = create_software @hash_list
35 @software.community.add_admin(@offer.person) 35 @software.community.add_admin(@offer.person)
36 @software.save 36 @software.save
37 - assert_equal @offer.id, @software.community.admins.last.id 37 + assert_equal @offer.person.id, @software.community.admins.last.id
38 end 38 end
39 39
40 should 'search new offers while creating a new software' do 40 should 'search new offers while creating a new software' do