diff --git a/spec/oga/xml/parser/elements_spec.rb b/spec/oga/xml/parser/elements_spec.rb index a8a698c..cf716cf 100644 --- a/spec/oga/xml/parser/elements_spec.rb +++ b/spec/oga/xml/parser/elements_spec.rb @@ -42,8 +42,8 @@ describe Oga::XML::Parser do @element.is_a?(Oga::XML::Element).should == true end - example 'set the attributes of the element' do - @element.attributes.should == {:bar => 'baz'} + example 'set the bar attribute' do + @element.attribute('bar').should == 'baz' end end