spec/brakeman_spec.rb in danger-brakeman-0.0.2 vs spec/brakeman_spec.rb in danger-brakeman-0.0.3

- old
+ new

@@ -67,11 +67,11 @@ @brakeman.lint outputs = @brakeman.violation_report[:warnings].map(&:to_s) - expect(outputs.first).to include('Violation [brakeman] Unsafe reflection method `constantize` called with parameter value { sticky: false, file: app/controllers/vuls_controller.rb, line: 45 }') - expect(outputs.last).to include('Violation [brakeman] `protect_from_forgery` should be called in `VulsController` { sticky: false, file: app/vuls_controller.rb, line: 1 }') + expect(outputs.first).to include('Violation [brakeman] Unsafe reflection method `constantize` called with parameter value { sticky: false, file: app/controllers/vuls_controller.rb, line: 45, type: warning }') + expect(outputs.last).to include('Violation [brakeman] `protect_from_forgery` should be called in `VulsController` { sticky: false, file: app/vuls_controller.rb, line: 1, type: warning }') end end end end end