Skip to content

Commit

Permalink
spec: fix attributes specs
Browse files Browse the repository at this point in the history
  • Loading branch information
meh committed Feb 3, 2014
1 parent cff0d24 commit 25770ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/dom/element/attributes_spec.rb
Expand Up @@ -41,8 +41,8 @@

describe '#each' do
it 'enumerates over the attributes' do
expect($document[:lol].attributes.to_a).to eq \
[[:id, :lol], [:class, :name], [:for, :hue]]
expect($document[:lol].attributes.to_a.sort).to eq \
[[:class, :name], [:for, :hue], [:id, :lol]]
end
end
end

0 comments on commit 25770ac

Please sign in to comment.