[rspec-users] used the described Class in a shared behavior

2007-08-06 Thread ben
Is it possible to access the described class in a shared behavior? I'm trying to do something like this: describe Siberian feline, :shared = true do described_class_instance_as :feline, :name = fluffy, :breed = Siberian # or maybe before(:all) do @feline = described_class.new(:name =

Re: [rspec-users] used the described Class in a shared behavior

2007-08-06 Thread David Chelimsky
On 8/6/07, David Chelimsky [EMAIL PROTECTED] wrote: On 8/6/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is it possible to access the described class in a shared behavior? I'm trying to do something like this: describe Siberian feline, :shared = true do described_class_instance_as