repo.or.cz
/
rbx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Updated RubySpec source to 55122684.
[rbx.git]
/
spec
/
frozen
/
1.8
/
core
/
kernel
/
tainted_spec.rb
blob
ae28b5650aad90e692b53faf37874b50be8c357e
1
require File.dirname(__FILE__) + '/../../spec_helper'
2
require File.dirname(__FILE__) + '/fixtures/classes'
3
4
describe "Kernel#tainted?" do
5
it "returns true if Object is tainted" do
6
o = mock('o')
7
p = mock('p')
8
p.taint
9
o.tainted?.should == false
10
p.tainted?.should == true
11
end
12
end