There was an error while loading. Please reload this page.
1 parent 083dc8c commit 9650caaCopy full SHA for 9650caa
1 file changed
lib/aruba/matchers/file/be_a_command_found_in_path.rb
@@ -19,11 +19,11 @@
19
end
20
21
failure_message do |actual|
22
- format(%(expected that command "%s" can be found in PATH "#{ENV['PATH']}".), actual)
+ format(%(expected that command "%s" can be found in PATH "#{aruba.environment['PATH']}".), actual)
23
24
25
failure_message_when_negated do |actual|
26
- format(%(expected that command "%s" cannot be found in PATH "#{ENV['PATH']}".), actual)
+ format(%(expected that command "%s" cannot be found in PATH "#{aruba.environment['PATH']}".), actual)
27
28
29
0 commit comments