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