[rspec-users] cucumber question - uninitialized constant creating object in model
Tim Walker
walketim at gmail.com
Sun Nov 23 12:50:29 EST 2008
Sorry if this is a really basic question. Scanned the past several
months archives, didn't see it.
When I am running "cucumber features"
I get the error:
"uninitialized constant Thing (NameError)"
With step code being executed as...
Given /^a thing consisting of "L1" $/ do
Thing.new
end
I understand that this probably a basic question but it's like
cucumber isn't loading my rails environment.
Many thanks in advance.
T
More information about the rspec-users
mailing list