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