2024-04-04 10:21:23 +02:00
|
|
|
# frozen_string_literal: true
|
2024-04-03 11:23:50 +02:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: chapters
|
|
|
|
#
|
|
|
|
# id :bigint not null, primary key
|
|
|
|
# body :text
|
|
|
|
# date_modified :datetime
|
|
|
|
# date_published :datetime not null
|
|
|
|
# num_views :integer default(0), not null
|
|
|
|
# num_words :integer
|
|
|
|
# number :integer default(1), not null
|
|
|
|
# title :text not null
|
|
|
|
# story_id :bigint not null
|
|
|
|
#
|
|
|
|
# Indexes
|
|
|
|
#
|
|
|
|
# index_chapters_on_story_id (story_id)
|
|
|
|
#
|
2024-04-04 10:21:23 +02:00
|
|
|
require 'test_helper'
|
2024-04-02 19:33:19 +02:00
|
|
|
|
|
|
|
class ChapterTest < ActiveSupport::TestCase
|
|
|
|
# test "the truth" do
|
|
|
|
# assert true
|
|
|
|
# end
|
|
|
|
end
|