Browse files

Issue: spec updated to make sure remarks can be set via the initializ…

…er [Issue #209]
  • Loading branch information...
1 parent 2744662 commit 351d5c61ff3e437464bd3a0872394dbf88142312 @Zapotek Zapotek committed Jan 22, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 spec/arachni/issue_spec.rb
View
6 spec/arachni/issue_spec.rb
@@ -31,6 +31,9 @@
'Set-Cookie' => 'name=value'
}
},
+ remarks: {
+ the_dude: ['Hey!']
+ },
response: 'HTML response',
injected: 'injected string',
id: 'This string was used to identify the vulnerability',
@@ -171,6 +174,9 @@
end
describe '#remarks' do
+ it 'should return the set remarks as a Hash' do
+ @issue.remarks.should == @issue_data[:remarks]
+ end
context 'when uninitialised' do
it 'should be an empty Hash' do
i = Arachni::Issue.new

0 comments on commit 351d5c6

Please sign in to comment.