[rspec-users] require confusion

Steve H. lists at ruby-forum.com
Tue Jan 18 20:50:37 EST 2011

I'm on Ubuntu 10.10, and I'm trying to figure out what I'm missing in
regards to the require statement for RSpec's expectation library.

Any code I see on the web requires rspec like:
require 'spec/expectations'

but to get it to work I always have to change it to
require 'rspec/expectations'

More of a curiosity than anything else.

Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list