HELLO v3!!!
This commit is contained in:
18
spec/shared_examples/views/enumeration/themes.rb
Normal file
18
spec/shared_examples/views/enumeration/themes.rb
Normal file
@@ -0,0 +1,18 @@
|
||||
shared_examples 'App::Views::Enumeration::Themes' do
|
||||
let(:view) { 'themes' }
|
||||
let(:plugin) { WPScan::Theme }
|
||||
|
||||
describe 'themes' do
|
||||
context 'when no themes found' do
|
||||
let(:expected_view) { File.join(view, 'none_found') }
|
||||
|
||||
it 'outputs the expected string' do
|
||||
@tpl_vars = tpl_vars.merge(themes: [])
|
||||
end
|
||||
end
|
||||
|
||||
context 'when themes found' do
|
||||
xit
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user