summaryrefslogtreecommitdiff
path: root/spec/ruby/core/time/_load_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/time/_load_spec.rb')
-rw-r--r--spec/ruby/core/time/_load_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/time/_load_spec.rb b/spec/ruby/core/time/_load_spec.rb
index bb0d705bbc..a74e3dc129 100644
--- a/spec/ruby/core/time/_load_spec.rb
+++ b/spec/ruby/core/time/_load_spec.rb
@@ -1,9 +1,9 @@
-# -*- encoding: binary -*-
+# encoding: binary
require_relative '../../spec_helper'
describe "Time._load" do
it "is a private method" do
- Time.should have_private_method(:_load, false)
+ Time.private_methods(false).should.include?(:_load)
end
# http://redmine.ruby-lang.org/issues/show/627