Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-04-10 00:16:01 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-04-12 00:12:10 +0300
commit273df6a44b5e4d501571bc2cb55dee1e5b57b290 (patch)
tree84883d61f559abf77b06ea97fbaab9e85202adfd /spec/factories_spec.rb
parent5155b9794db107bdb44297a7c01ced13581ee303 (diff)
Remove the invalid key factories
They're only used once each, and they're easy to build in-place.
Diffstat (limited to 'spec/factories_spec.rb')
-rw-r--r--spec/factories_spec.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/factories_spec.rb b/spec/factories_spec.rb
index c8e218d4d03..457859dedaf 100644
--- a/spec/factories_spec.rb
+++ b/spec/factories_spec.rb
@@ -1,12 +1,6 @@
require 'spec_helper'
-INVALID_FACTORIES = [
- :key_with_a_space_in_the_middle,
- :invalid_key,
-]
-
FactoryGirl.factories.map(&:name).each do |factory_name|
- next if INVALID_FACTORIES.include?(factory_name)
describe "#{factory_name} factory" do
it 'should be valid' do
expect(build(factory_name)).to be_valid