require 'spec_helper'

describe Album do
  it 'must belong to a user' do
    pending 'test user association'
  end

  it 'must be deleted if the user is deleted' do
    pending 'test that album is gone if user is deleted'
  end
end

require 'spec_helper'

describe Album do
  it { should validate_presence_of :user_id }

  it 'must be deleted if the user is deleted' do
    pending 'test that album is gone if user is deleted'
  end
end

Test the validation of user_id on Album model
Test the validation of user_id on Album model
