require 'test_helper'

class InitiativeFunderTest < ActiveSupport::TestCase
  # test "the truth" do
  #   assert true
  # end
end

require 'test_helper'

# InitiativeFunderTest is the models for an initiative funder
class InitiativeFunderTest < ActiveSupport::TestCase
  def setup
    @initiative_funder = initiative_funders(:one)
  end

  test 'should be valid' do
    assert @initiative_funder.valid?
  end

  test 'should have a funder' do
    @initiative_funder.funder = nil
    assert_not @initiative_funder.valid?
  end

  test 'should have an initiative' do
    @initiative_funder.initiative = nil
    assert_not @initiative_funder.valid?
  end
end

Write model tests for an initiative_funder.
Write model tests for an initiative_funder.
