summaryrefslogtreecommitdiff
path: root/spec/factories_spec.rb
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2012-09-25 15:54:07 +0200
committerMarin Jankovski <maxlazio@gmail.com>2012-09-25 16:13:24 +0200
commit7284c58c5fb54965b078a2ba9e3634479700416d (patch)
tree42d69f3099ab5b10ea0b9067933fcf8b75cf77dc /spec/factories_spec.rb
parent012dc2278c1b7cb3cf4021912fca81c4ccf74b2f (diff)
downloadgitlab-ce-7284c58c5fb54965b078a2ba9e3634479700416d.tar.gz
Don't test if invalid key is valid.
Diffstat (limited to 'spec/factories_spec.rb')
-rw-r--r--spec/factories_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/factories_spec.rb b/spec/factories_spec.rb
index 5ccc17bddc9..caf9ac9a9d3 100644
--- a/spec/factories_spec.rb
+++ b/spec/factories_spec.rb
@@ -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