blob: f570aeedd2326a529101909c57162f84a87354f3 (
plain)
1
2
3
4
5
6
7
8
|
require File.expand_path('../../fixtures/classes', __FILE__)
describe :time_now, shared: true do
it "creates a subclass instance if called on a subclass" do
TimeSpecs::SubTime.send(@method).should be_an_instance_of(TimeSpecs::SubTime)
TimeSpecs::MethodHolder.send(@method).should be_an_instance_of(Time)
end
end
|