/usr/lib/ruby/vendor_ruby/shoulda/matchers/assertion_error.rb is in ruby-shoulda-matchers 1.0.0~beta2-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | module Shoulda
module Matchers
if RUBY_VERSION > "1.9"
require 'minitest/unit'
AssertionError = MiniTest::Assertion
else
require 'test/unit/assertionfailederror'
AssertionError = Test::Unit::AssertionFailedError
end
end
end
|