sample renamed
This commit is contained in:
@@ -29,8 +29,7 @@ describe Vulnerability do
|
||||
describe '::load_from_xml_node' do
|
||||
subject(:vulnerability) { Vulnerability.load_from_xml_node(node) }
|
||||
let(:node) {
|
||||
xml(MODELS_FIXTURES + '/vulnerability/load_from_xml_node.xml').
|
||||
xpath('//vulnerability')
|
||||
xml(MODELS_FIXTURES + '/vulnerability/xml_node.xml').xpath('//vulnerability')
|
||||
}
|
||||
|
||||
its(:title) { should == 'Vuln Title' }
|
||||
|
||||
Reference in New Issue
Block a user