Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/spec/modules_spec.rb
Views: 11704
require 'spec_helper'12RSpec.describe 'modules', :content do3modules_pathname = Pathname.new(__FILE__).parent.parent.join('modules')45it_should_behave_like 'all modules with module type can be instantiated',6module_type: 'auxiliary',7modules_pathname: modules_pathname,8type_directory: 'auxiliary'910it_should_behave_like 'all modules with module type can be instantiated',11module_type: 'encoder',12modules_pathname: modules_pathname,13type_directory: 'encoders'1415it_should_behave_like 'all modules with module type can be instantiated',16module_type: 'exploit',17modules_pathname: modules_pathname,18type_directory: 'exploits'1920it_should_behave_like 'all modules with module type can be instantiated',21module_type: 'nop',22modules_pathname: modules_pathname,23type_directory: 'nops'2425it_should_behave_like 'all modules with module type can be instantiated',26module_type: 'post',27modules_pathname: modules_pathname,28type_directory: 'posts'29it_should_behave_like 'all modules with module type can be instantiated',30module_type: 'payload',31modules_pathname: modules_pathname,32type_directory: 'payload'33end343536