sample renamed

This commit is contained in:
erwanlr
2013-03-20 20:24:22 +01:00
parent 543a6fbaa2
commit 4d687544d2
2 changed files with 1 additions and 2 deletions

View File

@@ -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' }