how can I dynamically set the subject for a spec? I have a bunch of 
describe blocks that set the subject like this `subject { 
Types::Event.fields['latitude'] }`, where `Types::Event` is the 
`described_class`. The name of the describe block in this case is 
'latitude'.

Is there a way to get that name from the group, and set it on the subject, 
or maybe do something using a metadata flag?

Thanks,
Steve

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/1a3c2601-4e41-4ab6-8085-2cf3ae2e9676%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to