require 'rails_helper'

##
# Verify that factories are valid
#
FactoryGirl.factories.map(&:name).each do |factory_name|
  describe "The #{factory_name} factory" do
    it 'is valid' do
      subject = build(factory_name)
      expect(subject).to be_valid
    end
  end
end

Add basic test for factory validity
Add basic test for factory validity

This doesn't do anything fancy–it doesn't test traits, it doesn't test
that things are properly sequenced/uniqueness requirements are obeyed,
etc.–but it ensures that the basic factories are valid.

After finding a sequence issue in `:shift`, I thought this would be a
prudent test to have.
