Sha256: ff63050c2a1e39ea24f760b462641569d63ed27db3ec260dce1653be30f3927b

Contents?: true

Size: 212 Bytes

Versions: 5

Compression:

Stored size: 212 Bytes

Contents

require 'rails_helper'

module Theblog
  RSpec.describe ContentStatus, :type => :model do
    it { is_expected.to validate_presence_of(:title) }
    it { is_expected.to validate_uniqueness_of(:title) }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
theblog-0.0.2.3 spec/models/theblog/content_status_spec.rb
theblog-0.0.2.2 spec/models/theblog/content_status_spec.rb
theblog-0.0.2 spec/models/theblog/content_status_spec.rb
theblog-0.0.1.1 spec/models/theblog/content_status_spec.rb
theblog-0.0.1 spec/models/theblog/content_status_spec.rb