spec/lib/xommelier/xml/element/structure_spec.rb in xommelier-0.1.32 vs spec/lib/xommelier/xml/element/structure_spec.rb in xommelier-0.1.33
- old
+ new
@@ -1,6 +1,7 @@
# coding: utf-8
+# frozen_string_literal: true
################################################
# © Alexander Semyonov, 2011—2013, MIT License #
# Author: Alexander Semyonov <al@semyonov.us> #
################################################
@@ -26,9 +27,9 @@
it 'defines as containing text' do
expect(NamespacedModule::RootWithText.new).to respond_to(:text)
end
it { is_expected.to respond_to(:xmlns) }
- it { expect(NamespacedModule::RootWithText.xmlns.uri).to eq('http://example.org/')}
- it { expect(NamespacedModule::RootWithAttribute.xmlns.uri).to eq('http://example.org/')}
- it { expect(Xommelier::Atom::Feed.xmlns.uri).to eq('http://www.w3.org/2005/Atom')}
+ it { expect(NamespacedModule::RootWithText.xmlns.uri).to eq('http://example.org/') }
+ it { expect(NamespacedModule::RootWithAttribute.xmlns.uri).to eq('http://example.org/') }
+ it { expect(Xommelier::Atom::Feed.xmlns.uri).to eq('http://www.w3.org/2005/Atom') }
end