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'
|
||||
|
||||
FactoryGirl.factories.map(&:name).each do |factory_name|
|
||||
next if :key_with_a_space_in_the_middle == factory_name
|
||||
describe "#{factory_name} factory" do
|
||||
it 'should be valid' do
|
||||
build(factory_name).should be_valid
|
||||
|
|
Loading…
Reference in a new issue