On 9 Oct 2011, at 21:23, David Chelimsky wrote:
> * Allow classes/modules to be used as shared example group identifiers
>(Arthur Gunn)
This sounds awesome. Are there any full examples? I could only see unit tests
in the code.
Ash
--
http://www.patchspace.co.uk/
http://www.linkedin.com/
On Oct 10, 2011, at 4:16 AM, Ash Moran wrote:
>
> On 9 Oct 2011, at 21:23, David Chelimsky wrote:
>
>> * Allow classes/modules to be used as shared example group identifiers
>> (Arthur Gunn)
>
> This sounds awesome. Are there any full examples? I could only see unit tests
> in the code.
Nop
I know I can do:
blah.should be_empty
or
blah.should have_key(:to_my_house)
...
But, is there a way to do:
str = "lmaonade omg rotfcopter!"
str.should start_with("lmao")
Or is it just best to do:
str.starts_with?("lmao").should be_true
?
Patrick J. Collins
http://collinatorstudios.com
On Oct 10, 2011, at 8:17 PM, Patrick J. Collins wrote:
> I know I can do:
>
> blah.should be_empty
>
> or
>
> blah.should have_key(:to_my_house)
>
> ...
>
> But, is there a way to do:
>
> str = "lmaonade omg rotfcopter!"
>
> str.should start_with("lmao")
>
> Or is it just best to do:
>
>