spec/models/version_spec.rb in pulitzer-0.15.12 vs spec/models/version_spec.rb in pulitzer-0.15.13

- old
+ new

@@ -7,10 +7,10 @@ expect(version).to be_valid end describe "Active Model validations" do it { should validate_presence_of(:status) } - it { should validate_presence_of(:post_id) } + it { should validate_presence_of(:post) } end describe "ActiveRecord associations" do it { should have_many(:content_elements).dependent(:destroy) } it { should have_many(:post_tags).dependent(:destroy) }