Commit 316649c797cc805dfff4ffa938e6ad1c82496e26
1 parent
0279e0af
Exists in
master
and in
5 other branches
Fix offertant functional test
Signed-off-by: Gustavo Jaruga <darksshades@gmail.com> Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/functional/mpog_software_plugin_myprofile_controller_test.rb
... | ... | @@ -34,7 +34,7 @@ class MpogSoftwarePluginMyprofileControllerTest < ActionController::TestCase |
34 | 34 | @software = create_software @hash_list |
35 | 35 | @software.community.add_admin(@offer.person) |
36 | 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 | 38 | end |
39 | 39 | |
40 | 40 | should 'search new offers while creating a new software' do | ... | ... |