We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d89238d commit 93b7816Copy full SHA for 93b7816
railties/test/backtrace_cleaner_test.rb
@@ -15,7 +15,7 @@ def setup
15
test "should format installed gems not in Gem.default_dir correctly" do
16
target_dir = Gem.path.detect { |p| p != Gem.default_dir }
17
# skip this test if default_dir is the only directory on Gem.path
18
- if @target_dir
+ if target_dir
19
backtrace = [ "#{target_dir}/gems/nosuchgem-1.2.3/lib/foo.rb" ]
20
result = @cleaner.clean(backtrace, :all)
21
assert_equal "nosuchgem (1.2.3) lib/foo.rb", result[0]
0 commit comments