diff --git a/spec/decorators/lib/decidim/proposals/proposal_serializer_decorator_spec.rb b/spec/decorators/lib/decidim/proposals/proposal_serializer_decorator_spec.rb index 70233a7f..8717d2c5 100644 --- a/spec/decorators/lib/decidim/proposals/proposal_serializer_decorator_spec.rb +++ b/spec/decorators/lib/decidim/proposals/proposal_serializer_decorator_spec.rb @@ -49,7 +49,8 @@ module Proposals end it "serializes the authors emails" do - expect(serialized).to include(authors_email: proposal.authors.pluck(:emails)) + byebug + expect(serialized).to include(authors_emails: proposal.authors.pluck(:email)) end end end