require 'rails_helper'

RSpec.describe Course, :type => :model do
  pending "add some examples to (or delete) #{__FILE__}"
end

require 'rails_helper'

RSpec.describe Course, :type => :model do
  it "has a valid factory" do
    factory = FactoryGirl.create(:course)
    expect(factory).to be_valid, lambda { factory.errors.full_messages.join("\n") }
  end

  it "allows no null values"
end

Add course model test (for factory)
Add course model test (for factory)
