Sha256: 870a69ea8bf78cb8d6c9d6ee708a3d25eb4581e3163a9d99504a8e343500dde3

Contents?: true

Size: 231 Bytes

Versions: 4

Compression:

Stored size: 231 Bytes

Contents

# frozen_string_literal: true

require "rails_helper"

module Archangel
  RSpec.describe Site, type: :model do
    describe "ActiveModel validations" do
      it { expect(subject).to validate_presence_of(:name) }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
archangel-0.0.5 spec/models/archangel/site_spec.rb
archangel-0.0.4 spec/models/archangel/site_spec.rb
archangel-0.0.3 spec/models/archangel/site_spec.rb
archangel-0.0.2 spec/models/archangel/site_spec.rb