blob: ce6a501db7fe614dcea5e38132639d8131e42d39 (
plain)
1
2
3
4
5
6
7
8
|
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)
describe "Singleton.allocate" do
it "is a private method" do
lambda { SingletonSpecs::MyClass.allocate }.should raise_error(NoMethodError)
end
end
|