Notes posted by vishnunarangRSS feed
Here is an example to understand described_class
describe MyClass do it "is available as described_class" do expect(described_class).to eq(MyClass) end end
So in the above example, described_class method will return MyClass as a class.
It is a part of rspec core 3.0