summaryrefslogtreecommitdiff
path: root/spec/factories_spec.rb
diff options
context:
space:
mode:
authorIzaak Alpert <ialpert@blackberry.com>2013-07-16 17:14:03 -0400
committerIzaak Alpert <ialpert@blackberry.com>2013-07-17 22:48:03 -0400
commitd99594273d57b2d5ed7c748b3185712960b89478 (patch)
tree5f5d6da6011465e3521c7c3ab09ec7a38dbef37a /spec/factories_spec.rb
parent128f2845770b7a6d553ee764cdbbe63da5ba9e84 (diff)
downloadgitlab-ce-d99594273d57b2d5ed7c748b3185712960b89478.tar.gz
Style changes from review with @randx
-Some changes around calling origional methods for !for_fork? merge requests. Other changes to follow Change-Id: I009c716ce2475b9efa3fd07aee9215fca7a1c150
Diffstat (limited to 'spec/factories_spec.rb')
-rw-r--r--spec/factories_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/factories_spec.rb b/spec/factories_spec.rb
index d38ce3d1c7e..66bef0761c7 100644
--- a/spec/factories_spec.rb
+++ b/spec/factories_spec.rb
@@ -1,13 +1,12 @@
require 'spec_helper'
INVALID_FACTORIES = [
- :key_with_a_space_in_the_middle,
- :invalid_key,
+ :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
build(factory_name).should be_valid