Don't test if invalid key is valid.
This commit is contained in:
parent
012dc2278c
commit
7284c58c5f
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
FactoryGirl.factories.map(&:name).each do |factory_name|
|
FactoryGirl.factories.map(&:name).each do |factory_name|
|
||||||
|
next if :key_with_a_space_in_the_middle == factory_name
|
||||||
describe "#{factory_name} factory" do
|
describe "#{factory_name} factory" do
|
||||||
it 'should be valid' do
|
it 'should be valid' do
|
||||||
build(factory_name).should be_valid
|
build(factory_name).should be_valid
|
||||||
|
|
Loading…
Add table
Reference in a new issue