blob: 13d5a213e9f842c3bfcf45500cc62fb0712b8875 (
plain)
1
2
3
4
5
6
7
8
|
require_relative '../../spec_helper'
require_relative 'fixtures/classes'
describe "Singleton#dup" do
it "is prevented" do
-> { SingletonSpecs::MyClass.instance.dup }.should raise_error(TypeError)
end
end
|