[rspec-users] Cucumber step definitions vs. RSpec examples

2009-03-28 Thread Brandon Olivares
Hi, So, I'm confused. I've been trying to use Cucumber and RSpec, but step definitions and RSpec examples just seem to be overlapping. What should go in either one of these? For instance, let's say I'm testing if a form exists on a page. What goes in Cucumber and what goes in RSpec? What I did f

Re: [rspec-users] RSpec-rails 1.2.2: autospec passes but "rake spec" fails

2009-03-28 Thread Bart Zonneveld
On 27 mrt 2009, at 21:03, Stephen Eley wrote: On Fri, Mar 27, 2009 at 8:36 AM, David Chelimsky wrote: You can also change spec_helper.rb to force the test environment with: ENV["RAILS_ENV"] = 'test' That's what it used to do but somebody complained that it shouldn't force an environment

[rspec-users] spec_server not reloading model classes

2009-03-28 Thread Andrew Vit
Hi, I'm using the latest rspec-rails 1.2.2 with rails 2.3.2, and I'm trying to get it to work with spec_server. This is on Mac/Leopard, with the stock ruby, all gems installed in /Library/Ruby/. I have configured: # config/environments/test.rb config.cache_classes = false # spec/spec.opts --drb