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