gitlabhq/spec/factories_spec.rb
2012-09-06 07:52:01 -07:00

10 lines
208 B
Ruby

require 'spec_helper'
FactoryGirl.factories.map(&:name).each do |factory_name|
describe "#{factory_name} factory" do
it 'should be valid' do
build(factory_name).should be_valid
end
end
end