Fix missed rename when adding fastlib under directory

I missed a spot where I referenced the nested_paths as nested_pathnams
after I renamed the variable.  Now, Msf::ModuleManager#add_module_paths
has rspec tests.

Rspec can be invoked with `rake` as the default task or `rake spec`
explicitly.

I changed RuntimeError to ArgumentError since that error  was more
specific to having a bad argument error.  I adding missing dependencies
to the Gemfile and a require to msf/core/db_manager.rb where it errored
out trying to access Msf::Config when I just did require 'msf/core' in
the spec.
This commit is contained in:
Luke Imhoff
2012-10-08 16:14:37 -05:00
parent 114b7886fa
commit 93469604a7
9 changed files with 203 additions and 19 deletions
+2
View File
@@ -0,0 +1,2 @@
--color
--format documentation