gitlab-org--gitlab-foss/spec/factories_spec.rb

10 lines
212 B
Ruby
Raw Normal View History

require 'spec_helper'
2012-09-06 10:52:01 -04:00
FactoryGirl.factories.map(&:name).each do |factory_name|
describe "#{factory_name} factory" do
it 'should be valid' do
expect(build(factory_name)).to be_valid
end
end
end