enable at least one behavior
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b0ba0595fa
commit
eea3fe0a3b
@ -7,11 +7,11 @@ describe "main.using" do
|
||||
lambda do
|
||||
eval('using', TOPLEVEL_BINDING)
|
||||
end.should raise_error(ArgumentError)
|
||||
=end
|
||||
|
||||
lambda do
|
||||
eval('using "foo"', TOPLEVEL_BINDING)
|
||||
end.should raise_error(TypeError)
|
||||
=end
|
||||
end
|
||||
|
||||
it "uses refinements from the given module only in the target file" do
|
||||
|
Loading…
x
Reference in New Issue
Block a user