debian-mirror-gitlab/spec/factories_spec.rb
2015-04-26 09:18:37 +02:00

9 lines
212 B
Ruby

require 'spec_helper'
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