Render comments on splats

This commit is contained in:
Jason Zimdars
2024-08-14 17:36:13 -05:00
parent 2ff9dbab51
commit 09cc76c4f7
13 changed files with 78 additions and 52 deletions
@@ -0,0 +1,7 @@
require "test_helper"
class CommentsControllerTest < ActionDispatch::IntegrationTest
# test "the truth" do
# assert true
# end
end
+11
View File
@@ -0,0 +1,11 @@
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
body: I agree.
creator: :jz
splat: :one
two:
body: Same, lets do it.
creator: :kevin
splat: :one
+7
View File
@@ -0,0 +1,7 @@
require "test_helper"
class CommentTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end