blob: 304746fbe5c2c69236462bd329f3a2333f531d35 (
plain)
1
2
3
4
5
6
7
8
9
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
|