Sha256: 33e6cd9a76e6ee3f34c99f5ba651b0a8499af0bd1be256c52aeac25f60237b11
Contents?: true
Size: 432 Bytes
Versions: 19
Compression:
Stored size: 432 Bytes
Contents
require 'rails_helper' describe Pulitzer::PostTag do let(:post_tag) { build :post_tag } it 'has a valid factory' do expect(post_tag).to be_valid end describe "Active Model validations" do it { should validate_presence_of(:version) } it { should validate_presence_of(:label) } end describe "ActiveRecord associations" do it { should belong_to(:version) } it { should belong_to(:label) } end end
Version data entries
19 entries across 19 versions & 1 rubygems