diff --git a/spec/views/comments/new.html.haml_spec.rb b/spec/views/comments/new.html.haml_spec.rb index 5892fce0b..c2d7b7e86 100644 --- a/spec/views/comments/new.html.haml_spec.rb +++ b/spec/views/comments/new.html.haml_spec.rb @@ -3,7 +3,7 @@ require 'rails_helper' describe "comments/new" do before do controller.stub(:current_user) { nil } - @post = FactoryBot.create(:post) + @post = FactoryBot.create(:post, body: 'tena koutou ki te ao') @comment = FactoryBot.create(:comment, post: @post) assign(:comment, @comment) assign(:comments, [@comment])