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
Change soft-fail to use the config, rather than env
[rbx.git]
/
spec
/
frozen
/
1.8
/
library
/
singleton
/
clone_spec.rb
blob
cdf72e537f7a974b98d521817e64990dfe01bd10
1
require File.dirname(__FILE__) + '/../../spec_helper'
2
require File.dirname(__FILE__) + '/fixtures/classes'
3
4
describe "Singleton#clone" do
5
it "is prevented" do
6
lambda { SingletonSpecs::MyClass.instance.clone }.should raise_error(TypeError)
7
end
8
end