diff --git a/spec/script_exit_status_spec.rb b/spec/script_exit_status_spec.rb index cbb6ded46..45e04148b 100644 --- a/spec/script_exit_status_spec.rb +++ b/spec/script_exit_status_spec.rb @@ -26,4 +26,4 @@ def thor_command(command) it "a command that does not raise a Thor::Error exits with a status of 0" do expect(thor_command("ok")).to eq(0) end -end +end if RUBY_VERSION > "1.8.7"