Sha256: 641e66096fae26e1ee343eac45392092da0387ceef8e80ae9e28379bd72fbba0

Contents?: true

Size: 207 Bytes

Versions: 2

Compression:

Stored size: 207 Bytes

Contents

require 'rails_helper'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
theblog-0.0.1.1 spec/models/theblog/content_node_spec.rb
theblog-0.0.1 spec/models/theblog/content_node_spec.rb