-
Notifications
You must be signed in to change notification settings - Fork 13.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
juniper config parser tests #12181
juniper config parser tests #12181
Conversation
Checking it out now. |
Hmm, once merged to master, Travis started complaining like this:
But running locally shows no issues, and this looks identical to cisco_spec.rb. I'm guessing there's an implicit dependency somewhere in the requires, and random test order is shaking it out. https://travis-ci.org/rapid7/metasploit-framework/jobs/574240275 |
There's no explicit require of 'factory_bot' anywhere in framework. I'm guessing we always got by with something else that required it. Will attempt a test PR |
This reverts commit 28e4e0e.
Found the issue, looks like the 4.x branch is still on FactoryGirl, which is incompatible with FactoryBot. I just unmerged it from there and we're good to go again. |
This PR adds some tests and fixes some bugs found while writing tests for the juniper parser lib.
bundle exec rspec spec/lib/msf/core/auxiliary/juniper_spec.rb
and make sure it passes.