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