Categorize splats

This commit is contained in:
Jason Zimdars
2024-07-24 13:42:06 -05:00
parent 89a02fc960
commit 00d5c59f72
17 changed files with 147 additions and 37 deletions
+7
View File
@@ -0,0 +1,7 @@
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
title: Web
two:
title: Mobile
+17
View File
@@ -0,0 +1,17 @@
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
splat: one
category: one
two:
splat: two
category: two
three:
splat: three
category: one
four:
splat: three
category: two
+7
View File
@@ -0,0 +1,7 @@
require "test_helper"
class CategorizationTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
+7
View File
@@ -0,0 +1,7 @@
require "test_helper"
class CategoryTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end