Skip to content

Commit ef34efc

Browse files
committed
Rename instance variable in a test
1 parent 1412aec commit ef34efc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/iruby/jupyter_test.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
module IRubyTest
44
class JupyterDefaultKernelSpecDirectoryTest < TestBase
55
def setup
6-
@kernel_spec = IRuby::Jupyter.kernelspec_dir
6+
@kernelspec_dir = IRuby::Jupyter.kernelspec_dir
77
end
88

99
def test_default_windows
1010
windows_only
1111
appdata = IRuby::Jupyter.send :windows_user_appdata
12-
assert_equal(File.join(appdata, 'jupyter/kernels'), @kernel_spec)
12+
assert_equal(File.join(appdata, 'jupyter/kernels'), @kernelspec_dir)
1313
end
1414

1515
def test_default_apple
1616
apple_only
17-
assert_equal(File.expand_path('~/Library/Jupyter/kernels'), @kernel_spec)
17+
assert_equal(File.expand_path('~/Library/Jupyter/kernels'), @kernelspec_dir)
1818
end
1919

2020
def test_default_unix
2121
unix_only
2222
with_env('XDG_DATA_HOME' => nil) do
23-
assert_equal(File.expand_path('~/.local/share/jupyter/kernels'), @kernel_spec)
23+
assert_equal(File.expand_path('~/.local/share/jupyter/kernels'), @kernelspec_dir)
2424
end
2525
end
2626
end

0 commit comments

Comments
 (0)