Sha256: 06a9fc5de965b0dac5daa377017c6b2912e3a9a08a2f3c644dac7107ce05ecad
Contents?: true
Size: 355 Bytes
Versions: 7
Compression:
Stored size: 355 Bytes
Contents
require File.expand_path('../fixtures/classes', __FILE__) describe "StringIO#path" do ruby_version_is "" ... "1.9" do it "returns nil" do StringIO.new("path").path.should be_nil end end ruby_version_is "1.9" do it "is not defined" do lambda { StringIO.new("path").path }.should raise_error(NoMethodError) end end end
Version data entries
7 entries across 7 versions & 1 rubygems