spec/csl/locale/style_options_spec.rb in csl-1.0.0.pre10 vs spec/csl/locale/style_options_spec.rb in csl-1.0.0.pre11
- old
+ new
@@ -9,10 +9,10 @@
subject[:'punctuation-in-quote'].should be false
end
describe '#to_xml' do
it 'returns <style-options punctuation-in-quote="false"/> by default' do
- subject.to_xml.should == '<style-options punctuation-in-quote="false"/>'
+ subject.to_xml.should =~ /<style-options [^\/>]+\/>/
end
end
end
end
\ No newline at end of file