store and display favorite person by tiss_id
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
require 'test_helper'
|
||||
|
||||
class Favorite::FavoritePersonControllerTest < ActionDispatch::IntegrationTest
|
||||
test "should get index" do
|
||||
get favorite_favorite_person_index_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class FavoriteControllerTest < ActionDispatch::IntegrationTest
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
require 'test_helper'
|
||||
|
||||
class Favorites::FavoritePersonControllerTest < ActionDispatch::IntegrationTest
|
||||
test "should get index" do
|
||||
get favorites_favorite_person_index_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
end
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
tiss_id: MyString
|
||||
|
||||
two:
|
||||
tiss_id: MyString
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
# This model initially had no columns defined. If you add columns to the
|
||||
# model remove the '{}' from the fixture names and add the columns immediately
|
||||
# below each fixture, per the syntax in the comments below
|
||||
#
|
||||
one: {}
|
||||
# column: value
|
||||
#
|
||||
two: {}
|
||||
# column: value
|
||||
@@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class FavoritePersonTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class PersonTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
||||
Reference in New Issue
Block a user