mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix bad assumption in BacktraceCleaner test [#3249 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
This commit is contained in:
parent
51e1260b18
commit
77bb129fdb
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class BacktraceCleanerVendorGemTest < ActiveSupport::TestCase
|
|||
end
|
||||
|
||||
test "should format installed gems correctly" do
|
||||
@backtrace = [ "#{Gem.default_dir}/gems/nosuchgem-1.2.3/lib/foo.rb" ]
|
||||
@backtrace = [ "#{Gem.path[0]}/gems/nosuchgem-1.2.3/lib/foo.rb" ]
|
||||
@result = @cleaner.clean(@backtrace)
|
||||
assert_equal "nosuchgem (1.2.3) lib/foo.rb", @result[0]
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue