On 7 Jun 2011, at 03:06, Patrick J. Collins wrote:
>> rspec, not rake:
>
> Oops! I missed that.. So other than this debugger thing, are there any other
> differences between rake spec and rspec spec?
Just a bit! They're two completely different commands that run two completely
different comp
> Rake is a tool for running tasks of any nature, which you can invoke with the
> command `rake`. If you run `rake -T` in your project, you'll see that `rake
> spec` is just one of many other tasks you can run that do all kinds of
> things, not just to do with running tests.
>
> RSpec is a tool
On Jun 7, 2011, at 4:21 AM, Patrick J. Collins wrote:
>> Rake is a tool for running tasks of any nature, which you can invoke with
>> the command `rake`. If you run `rake -T` in your project, you'll see that
>> `rake spec` is just one of many other tasks you can run that do all kinds of
>> thin
Consider the following simple Rails app:
begin snippet
# lib/herpable.rb
module Herpable; ...; end
# app/models/...
class ClassOne; include Herpable; end
class ClassTwo; include Herpable; end
# ...
end snippet
What's the better way to write specs for these? Would you put the
On Jun 7, 2011, at 10:31 AM, John Feminella wrote:
> Consider the following simple Rails app:
>
> begin snippet
> # lib/herpable.rb
> module Herpable; ...; end
>
> # app/models/...
> class ClassOne; include Herpable; end
> class ClassTwo; include Herpable; end
> # ...
> end snipp