require 'rspec' RSpec.describe Rex::Parser::Arguments do let(:subject) do Rex::Parser::Arguments.new( ['-h', '--help'] => [false, 'Help banner.'], ['-d', '--delete'] => [false, 'Delete'], ['-j', '--job'] => [false, 'Run in the context of a job.'], '--long-flag-with-no-corresponding-short-option-name' => [false, 'A long flag with no corresponding short option name'], ['-o', '--options'] => [true, 'A comma separated list of options in VAR=VAL format.', '