summaryrefslogtreecommitdiff
path: root/spec/ruby/core/process/daemon_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/process/daemon_spec.rb')
-rw-r--r--spec/ruby/core/process/daemon_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/process/daemon_spec.rb b/spec/ruby/core/process/daemon_spec.rb
index 36825771d1..9b7eba1411 100644
--- a/spec/ruby/core/process/daemon_spec.rb
+++ b/spec/ruby/core/process/daemon_spec.rb
@@ -2,7 +2,7 @@ require_relative '../../spec_helper'
require_relative 'fixtures/common'
platform_is_not :windows do
- # macOS 15 beta is not working this examples
+ # macOS 15 is not working this examples
return if /darwin/ =~ RUBY_PLATFORM && /15/ =~ `sw_vers -productVersion`
describe :process_daemon_keep_stdio_open_false, shared: true do
@@ -112,7 +112,7 @@ platform_is :windows do
it "raises a NotImplementedError" do
-> {
Process.daemon
- }.should raise_error(NotImplementedError)
+ }.should.raise(NotImplementedError)
end
end
end