--
You received this message because you are subscribed to the Google Groups "Cukes" group.
To post to this group, send email to cu...@googlegroups.com.
To unsubscribe from this group, send email to cukes+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cukes?hl=en.
--
Jamie Kirkpatrick
07818 422311
The step I pasted is in a step file and gets resolved but it doesnt seem to be run at all. I go from having 1 undefined step and 3 skipped steps to 4 skipped steps. I don't get any advice about why it was skipped from Cucumber.
--
Jamie Kirkpatrick
07818 422311
--
Jamie Kirkpatrick
07818 422311
--
Jamie Kirkpatrick
07818 422311
Make sure you have 'cucumber-rails', 0.3.2
> gem 'cucumber', '0.7.2'
Make sure you have 'cucumber', 0.8.0 (The explicit dependency is
unnecessary, as cucumber-rails depends on it. I recommend you remove
it)
> gem 'rspec-rails', '2.0.0.beta.8'
Should be 2.0.0.beta.11
> I'm on Ruby 1.8.7 as shipped with OS X 10.6.
>
Try to specify this in your Gemfile and run rails g cucumber:install again.
Hi Matt
Well, first up I should say that I'm pretty new to rails, I'm a big Python man so it's not all unfamiliar territory but I'm only just trying out my first projects on the dark side ;)
Sencond I should say that I'm using a fairly non-standard setup in that I'm not using ActiveRecord, but rather MongoID to map to a Mongo DB backend.
In my rails env.rb I had to comment out this line to make things run at all, and it seems to have something more to do with why things are failing:# Cucumber::Rails::World.use_transactional_fixtures = true
--
Jamie Kirkpatrick
07818 422311
W00t!That did the trick...fantastic :)So, yes, I've noticed that things don't seem to be set up in an appropriate manner for auto-detection of my ORM to happen. I actually had to manually tell cucumber to configure DatabaseCleaner to use mongoid in env.rb.
This seems wrong, it seems like it should be picked up because I have it set in application.rb right? Does application.rb get read by cucumber at all or are they totally separate mechanisms?
--
Jamie Kirkpatrick
07818 422311
FYI: There is a ticket for this already:
http://github.com/aslakhellesoy/cucumber-rails/issues#issue/18
Aslak