From d99594273d57b2d5ed7c748b3185712960b89478 Mon Sep 17 00:00:00 2001 From: Izaak Alpert Date: Tue, 16 Jul 2013 17:14:03 -0400 Subject: Style changes from review with @randx -Some changes around calling origional methods for !for_fork? merge requests. Other changes to follow Change-Id: I009c716ce2475b9efa3fd07aee9215fca7a1c150 --- spec/factories_spec.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'spec/factories_spec.rb') 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 -- cgit v1.2.1