Commit 0caacfdd8dc002334c7c8973831436a52b76fdec

Authored by Daniela Feitosa
1 parent 7a90f562
Exists in fix_sign_up_form

Remove unnecessary return on test

See merge request !1000
plugins/profile_description_block/test/unit/profile_description_block_test.rb
@@ -39,7 +39,7 @@ class ProfileDescriptionBlockViewTest < ActionView::TestCase @@ -39,7 +39,7 @@ class ProfileDescriptionBlockViewTest < ActionView::TestCase
39 39
40 should 'return profile description in api_content when description is present' do 40 should 'return profile description in api_content when description is present' do
41 block = ProfileDescriptionBlock.new 41 block = ProfileDescriptionBlock.new
42 - @person.stubs(:description).returns("This is my description").returns("This is my description") 42 + @person.stubs(:description).returns("This is my description")
43 block.stubs(:owner).returns(@person) 43 block.stubs(:owner).returns(@person)
44 assert_equal "This is my description", block.api_content['description'] 44 assert_equal "This is my description", block.api_content['description']
45 end 45 end