summaryrefslogtreecommitdiffstats
path: root/autotest/rspec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'autotest/rspec.rb')
-rw-r--r--autotest/rspec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotest/rspec.rb b/autotest/rspec.rb
index 707429d2e..bf3d2d939 100644
--- a/autotest/rspec.rb
+++ b/autotest/rspec.rb
@@ -50,7 +50,7 @@ class Autotest::Rspec < Autotest
# ~/.autotest to provide a different spec command then the default
# paths provided.
def spec_command(separator=File::ALT_SEPARATOR)
- unless defined? @spec_command then
+ unless defined?(@spec_command) then
@spec_command = spec_commands.find { |cmd| File.exists? cmd }
raise RspecCommandError, "No spec command could be found!" unless @spec_command