support for its("@ivar") { should eq("some value") }
Created by: amatsuda
This patch enables its
method to directly access to subject
's instance variable.
So this code:
subject { some_object.instance_variable_get('@key') }
it { should eq(value) }
becomes like this:
subject { some_object }
its('@key') { should eq(value) }
Thoughts?