spec/csl/style_spec.rb in csl-1.3.1 vs spec/csl/style_spec.rb in csl-1.3.2

- old
+ new

@@ -96,9 +96,14 @@ end it 'when setting an independet-parent link a style becomes dependent' do expect { @style.independent_parent_link = 'foo' }.to change { @style.independent? } end + + it 'looks up independent styles parents locally first' do + @style.independent_parent_link = 'http://example.com/non-existent/styles/apa' + expect(@style.independent_parent).to eq Style.load('apa') + end end describe 'macros' do it 'has no macros by default' do expect(@style).not_to have_macros