[rspec-devel] [Proposal] change 'spec' to 'rspec'

Scott Taylor mailing_lists at railsnewbie.com
Tue Sep 30 00:53:46 EDT 2008

On Sep 29, 2008, at 11:35 PM, Pat Maddox wrote:

> "David Chelimsky" <dchelimsky at gmail.com> writes:
>> The convention for gems is that the top level module shares a name
>> with the gem, but rspec uses 'spec' instead, resulting in things like
>> this:
>> require 'rubygems'
>> gem 'rspec'
>> require 'spec'
>> I'd like to propose that we change the 'spec' namespace to 'rspec'.
>> We'd have to continue to support 'spec' for backwards compatibility
>> for a long time, but we can do that with a few extra files that just
>> require other files.
>> Thoughts?
> I nearly always write
> require 'rspec'
> when I start a new app, and am confused for a bit before I remember  
> that
> it's just spec.  It was kind of funny when I was pairing one time:
> me: *types require 'rspec'*
> pair: "Isn't it just require 'spec'?"
> me: "oh right"
> pair: "aren't you on the rspec team?"
> :)


Is the top level constant going to be Rspec, or RSpec?


More information about the rspec-devel mailing list