summaryrefslogtreecommitdiff
path: root/spec/ruby/library/pathname/new_spec.rb
diff options
context:
space:
mode:
-rw-r--r--spec/ruby/library/pathname/new_spec.rb8
1 files changed, 5 insertions, 3 deletions
@@ -10,9 +10,11 @@ describe "Pathname.new" do
-> { Pathname.new("\0")}.should raise_error(ArgumentError)
end
- it "is tainted if path is tainted" do
- path = '/usr/local/bin'.taint
- Pathname.new(path).tainted?.should == true
end
it "raises a TypeError if not passed a String type" do