OptRaw specs

bug/bundler_fix
David Maloney 2013-07-20 17:57:52 -05:00
parent d66779ba4c
commit 2fc397b251
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
# -*- coding:binary -*-
require 'spec_helper'
require 'msf/core/option_container'
describe Msf::OptRaw do
valid_values = [
{ :value => 'foo', :normalized => 'foo' },
{ :value => "file:#{File.expand_path('string_list.txt',FILE_FIXTURES_PATH)}",:normalized => "foo\nbar\nbaz" },
]
invalid_values = []
it_behaves_like "an option", valid_values, invalid_values, 'raw'
end