From 251aca3b005183ad8e14c4edef08af047d4cf667 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 21 Jun 2013 18:20:33 +1000 Subject: [PATCH] lets not fail in order random --- spec/components/archetype_spec.rb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/spec/components/archetype_spec.rb b/spec/components/archetype_spec.rb index 897193611d8..b7124d24d3c 100644 --- a/spec/components/archetype_spec.rb +++ b/spec/components/archetype_spec.rb @@ -32,16 +32,10 @@ describe Archetype do context 'registerĀ an archetype' do - before do + it 'has one more element' do @list = Archetype.list.dup Archetype.register('glados') - end - - it 'has one more element' do Archetype.list.size.should == @list.size + 1 - end - - it 'has a glados element' do Archetype.list.find {|a| a.id == 'glados'}.should be_present end