osem-fcy/spec/models/commercial_spec.rb

23 lines
467 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2021-02-20 09:57:27 -08:00
# == Schema Information
#
# Table name: commercials
#
# id :bigint not null, primary key
# commercial_type :string
# commercialable_type :string
# url :string
# created_at :datetime
# updated_at :datetime
# commercial_id :string
# commercialable_id :integer
#
require 'spec_helper'
describe Commercial do
it { should validate_presence_of(:url) }
end