2024-04-04 10:21:23 +02:00
|
|
|
# frozen_string_literal: true
|
2024-04-03 11:23:50 +02:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: stories
|
|
|
|
#
|
|
|
|
# id :bigint not null, primary key
|
|
|
|
# color :integer
|
|
|
|
# completion_status :text
|
|
|
|
# content_rating :text
|
|
|
|
# cover_image :text
|
|
|
|
# date_modified :datetime
|
|
|
|
# date_published :datetime not null
|
|
|
|
# date_updated :datetime
|
|
|
|
# description_html :text
|
|
|
|
# num_comments :integer default(0), not null
|
|
|
|
# num_views :integer default(0), not null
|
|
|
|
# num_words :integer not null
|
|
|
|
# prequel :integer
|
|
|
|
# rating :integer not null
|
|
|
|
# short_description :text
|
|
|
|
# title :text not null
|
|
|
|
# total_num_views :integer default(0), not null
|
|
|
|
# author_id :bigint not null
|
|
|
|
#
|
|
|
|
# Indexes
|
|
|
|
#
|
|
|
|
# index_stories_on_author_id (author_id)
|
|
|
|
#
|
2024-04-04 10:21:23 +02:00
|
|
|
require 'test_helper'
|
2024-04-02 19:33:19 +02:00
|
|
|
|
|
|
|
class StoryTest < ActiveSupport::TestCase
|
|
|
|
# test "the truth" do
|
|
|
|
# assert true
|
|
|
|
# end
|
|
|
|
end
|