Thanks. So the problem is the "Spec" model name? There is no other way but to change "Spec" to something else?
I started with RailsSpace as a starting point a while back but my application has evolved since. On Jan 26, 4:56 pm, Marnen Laibow-Koser <[email protected]> wrote: > On Jan 26, 6:51 pm, Vincent P <[email protected]> wrote: > > > I am trying to use cucumber but my application has a "Spec" model (I > > followed the RailsSpace book). > > ...which is quite out of date. > > > So now I am getting an error when > > running cucumber (below). I think because cucumber does not like a > > model named "Spec." > > Actually, I think that would be more of a proble for RSpec. But I > could be wrong. > > > But I have "Spec" and "spec(s)" everywhere in my > > application now. A universal text change is a huge pain. Some > > innocent text contains the string "spec", e.g. "aspect". So I have to > > look at each replacement. > > Well, you should look at each replacement anyway. > > > What can I do? Please help. > > Try a regular expression search and replace, so that you don't hit > innocent words. > > > Thanks. > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > [email protected] -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

