mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
lets not fail in order random
This commit is contained in:
parent
456cff17f8
commit
251aca3b00
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user