chatwoot-develop/spec/models/installation_config_spec.rb

24 lines
684 B
Ruby
Executable File

# frozen_string_literal: true
# == Schema Information
#
# Table name: installation_configs
#
# id :bigint not null, primary key
# locked :boolean default(TRUE), not null
# name :string not null
# serialized_value :jsonb not null
# created_at :datetime not null
# updated_at :datetime not null
#
# Indexes
#
# index_installation_configs_on_name (name) UNIQUE
# index_installation_configs_on_name_and_created_at (name,created_at) UNIQUE
#
require 'rails_helper'
RSpec.describe InstallationConfig do
it { is_expected.to validate_presence_of(:name) }
end