mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
access check not necessary if it doesn't matter if we're in contexts anymore
This commit is contained in:
parent
216ea6264e
commit
00dad84dcf
1 changed files with 1 additions and 8 deletions
|
@ -8,12 +8,5 @@ describe C::Context do
|
|||
it "should not have a current context if no context is open" do
|
||||
C::Context::GetEntered().should be_nil
|
||||
end
|
||||
|
||||
it "can determine if there is a current context" do
|
||||
C::Context::InContext().should be(false)
|
||||
Context.open do
|
||||
C::Context::InContext().should be(true)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
end
|
Loading…
Reference in a new issue