does" do
end
end
You'd see something like this in the output:
done one time
done once for every example
done once for every example
Again, this is just my understanding. Could be wrong.
Jon Homan
On Thu, Jan 27, 2011 at 4:56 PM, Brian Warner wrote:
> I'm having a hard time
I recommend getting a copy of The RSpec Book (
http://www.pragprog.com/titles/achbd/the-rspec-book). I read through that
when I was fairly new to RSpec and I think it helped ramp up quickly.
Jon Homan
On Thu, Mar 10, 2011 at 5:52 AM, Mohnish J. wrote:
> Hi,
>
> I am looking for a
Sergio,
I believe you need to make text an instance variable:
@text = "string here"
Or you could use a let block:
let(:text) do
"string "here"
end
Then you could continue to reference the text variable as you do now.
Jon Homan
On Wed, Apr 27, 201