Skip to content

Commit

Permalink
Move from kernel/ to pathname/
Browse files Browse the repository at this point in the history
  • Loading branch information
HeroProtagonist committed Nov 23, 2020
1 parent ad867e8 commit dec7b6e
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
require 'pathname'

describe "Kernel#Pathname" do
it "is a public method" do
Kernel.public_methods.should include(:Pathname)
it "is a private instance method" do
Kernel.should have_private_instance_method(:Pathname)
end

it "is also a public method" do
Kernel.should have_method(:Pathname)
end

ruby_version_is ''...'2.7' do
Expand Down

0 comments on commit dec7b6e

Please sign in to comment.