mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@8cafaa5
This commit is contained in:
parent
1b377b32c8
commit
2e32b919b4
35 changed files with 832 additions and 10 deletions
10
spec/ruby/library/pathname/inspect_spec.rb
Normal file
10
spec/ruby/library/pathname/inspect_spec.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
require_relative '../../spec_helper'
|
||||
require 'pathname'
|
||||
|
||||
describe "Pathname#inspect" do
|
||||
it "returns a consistent String" do
|
||||
result = Pathname.new('/tmp').inspect
|
||||
result.should be_an_instance_of(String)
|
||||
result.should == "#<Pathname:/tmp>"
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue