require 'spec_helper'

describe ClubsUsers do
  it { should belong_to :club }
  it { should belong_to :user }

  it "can be instantiated" do
    ClubsUsers.new.should be_an_instance_of(ClubsUsers)
  end
end

require 'spec_helper'

describe ClubsUsers do
  it { should belong_to :club }
  it { should belong_to :user }

  it { should ensure_inclusion_of(:type).in_array [ :basic, :pro ] }

  it "can be instantiated" do
    ClubsUsers.new.should be_an_instance_of(ClubsUsers)
  end
end

Add Test for Enumeration of Membership Type
Add Test for Enumeration of Membership Type

Add a test to ensure that the ClubsUsers 'type' attribute falls within
the expected realm of membership types.
