rspecs
This commit is contained in:
@@ -87,6 +87,11 @@ describe WpTheme do
|
|||||||
@fixture = fixtures_dir + '/inline_link_tag.html'
|
@fixture = fixtures_dir + '/inline_link_tag.html'
|
||||||
@expected_name = 'inline'
|
@expected_name = 'inline'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
it 'should get the theme name even if relative URLs are used' do
|
||||||
|
@fixture = fixtures_dir + '/relative_urls.html'
|
||||||
|
@expected_name = 'theme_name'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
describe '#find_from_wooframework' do
|
describe '#find_from_wooframework' do
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
<html><head><title>Test</title><link rel="stylesheet" type="text/css" href="/wp-content/themes/theme_name/style.css" /></head><body></body></html>
|
||||||
Reference in New Issue
Block a user