[rspec-devel] Loading RSpec on Rails
adam at thewilliams.ws
Tue Mar 18 11:12:21 EDT 2008
I have built a plugin called 'Scenarios', which allows me to create
data for tests. I have specs for it, but historically have had to
modify rspec_on_rails very slightly to get them to run. Here's the deal:
1. Require everything necessary for testing a rails plugin and using
2. I get an error when requiring 'spec/rails', which ultimately fails
when requiring rspec_on_rails/edge/lib/spec/rails/extensions/spec/
`load_missing_constant': uninitialized constant
rspec_on_rails/edge/lib/spec/rails/extensions.rb:5 ... 22 levels...
3. I have 'fixed' this in the past by applying a patch like this one http://faithfulcode.rubyforge.org/svn/plugins/trunk/scenarios/testing/rspec_on_rails_3119.patch
I'm not interested in doing that any more. Does anyone know a good way
to resolve this problem?
More information about the rspec-devel