2012-08-28 01:42:28 -04:00
|
|
|
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
|
|
|
|
build(factory_name).should be_valid
|
2012-08-28 01:42:28 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|