require 'spec_helper'

describe Article do
  it { should have_many :comments }
end
require 'spec_helper'

describe Article do
  describe "validations" do
    it { should validate_presence_of :title }
    it { should validate_presence_of :text }  
  end
  
  describe "associations" do
    it { should have_many :comments }  
  end
end
Update article model spec to include validations
Update article model spec to include validations
