Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (7 sloc) 265 Bytes
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)
describe "Singleton#clone" do
it "is prevented" do
lambda { SingletonSpecs::MyClass.instance.clone }.should raise_error(TypeError)
end
end
Jump to Line
Something went wrong with that request. Please try again.