Categorize splats
This commit is contained in:
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
title: Web
|
||||
|
||||
two:
|
||||
title: Mobile
|
||||
Vendored
+17
@@ -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
|
||||
@@ -0,0 +1,7 @@
|
||||
require "test_helper"
|
||||
|
||||
class CategorizationTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
require "test_helper"
|
||||
|
||||
class CategoryTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
||||
Reference in New Issue
Block a user