Sha256: 1e359a4d9438c1c5446b36d6b09d5ff650107902fec3fe785aefdc2c1fc3d17a
Contents?: true
Size: 286 Bytes
Versions: 7
Compression:
Stored size: 286 Bytes
Contents
require 'spec_helper' describe 'factories' do FactoryGirl.factories.map(&:name).each do |factory_name| specify "#{factory_name} factory is valid", :factory do factory = build(factory_name) expect(factory).to be_valid if factory.respond_to?(:valid?) end end end
Version data entries
7 entries across 7 versions & 1 rubygems