osem-fcy/spec/models/commercial_spec.rb
2021-02-20 09:57:27 -08:00

22 lines
467 B
Ruby

# frozen_string_literal: true
# == 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