Only output if different from style_url

This commit is contained in:
Christian Mehlmauer
2014-07-16 18:38:39 +02:00
parent 6ebb9b6f66
commit 26e0066c82
5 changed files with 7 additions and 7 deletions

View File

@@ -55,7 +55,7 @@ describe 'WpTheme::Findable' do
context 'when other style.css is referenced' do
it 'returns the WpTheme' do
@file = 'yootheme.html'
@expected = WpTheme.new(uri, name: 'yoo_solar_wp')
@expected = WpTheme.new(uri, name: 'yoo_solar_wp', referenced_url: '/wp-content/themes/yoo_solar_wp/styles/wood/css/style.css')
end
end