On Fri, Jan 8, 2010 at 9:37 PM, DeNigris Sean wrote:
> Hi list,
>
> I'm writing an example for a class that represents the "pickaxe" e-book,
> which I view in Preview.app:
>
> describe PickaxeBook do
> ...
>it "should tell whether it's ready to read" do
>preview = stub('pr
On 9 Jan 2010, at 12:02, David Chelimsky wrote:
On Fri, Jan 8, 2010 at 9:37 PM, DeNigris Sean
wrote:
Hi list,
I'm writing an example for a class that represents the "pickaxe" e-
book, which I view in Preview.app:
describe PickaxeBook do
...
it "should tell whether it's ready to re
> What about something like:
>
> expected # => Fixnum to be a kind of Fixnum
Still in favor of something like this...
:)
-rp
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
I saw some tests like this the other day:
it "the nodes are the contents of the directory" do
...
end
Made me wonder if the idea had been proposed to skip the it, like.
"the nodes are the contents of the directory".do {
...
}
or what not.
Thoughts?
-r
On Sat, Jan 9, 2010 at 1:33 PM, rogerdpack wrote:
>
>> What about something like:
>>
>> expected # => Fixnum to be a kind of Fixnum
Truthfully, I find this much less clear than the original message.
I've got no idea what # => Fixnum means.
Expected Fixnum to be kind of Fixnum makes a lot of s
On 9 Jan 2010, at 18:34, rogerdpack wrote:
> I saw some tests like this the other day:
> it "the nodes are the contents of the directory" do
In this case I say "specify" instead.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org