spork

'script/console test' with spork and rspec not loading the whole environment?

I'm trying to load up console to interact with some of my rspec mocking helpers. I expected that running script/console test would load an env similar to when I run spec. However, this doesn't appear to be the case. It looks like spec_helper is never loaded. Or, if it is, it's not actually running through the logic because spork has poll...

Rspec, Spork, & Autotest Error

I'm trying to teach myself rails by going through http://railstutorial.org/. I quit working on the tutorial app last night and then came back to it today. Now I'm getting an error when I start up the Spork server. Here is a trace of the error. spork Using RSpec Loading Spork.prefork block... can't convert nil into Hash (TypeError) /usr/...

Cucumber + Spork = undefined method `visit' for #<Object:0x82fcc588> (NoMethodError) ???

I'm tearing my hair out here. When running Cucumber in Spork-compatible mode (--drb) the visit() method doesn't work. Simply trying the feature step: When I go to the home page calls web step: When /^(?:|I )go to (.+)$/ do |page_name| visit path_to(page_name) end Running "cucumber" on the command line produces the following err...

How to know if Spork is running

Hi. I'm trying to speed up "rspecing" in a rails 2.3.8 app with spork. When I run spork in the root of the project I get: (...stuff...) No server is running Running specs locally: Spork is ready and listening on 8989! And then, if I run specs, the message No server is running Running specs locally which appears if I run them w...

Rspec, shoulda and spork does not work together

Hi all, when I run rspec spec/models result is OK. But when I use spork, every test where shoulda macros (like it { should validate_presence_of(:title) } is used FAILS with error like: undefined method 'validate_presence_of' for ... I use: rails (3.0.0) shoulda (2.11.3) spork (0.8.4) rspec-rails (>= 2.0.0.beta.22) spec/spec_helper....

spork on Win7-x64/ruby1.9.2p0?

Having trouble getting spork running on Win7-x64/Ruby1.9.2p0: gem install spork ERROR: Error installing spork: ERROR: Failed to build gem native extension. C:/Ruby192/bin/ruby.exe mkrf_conf.rb Actually, there aren't any native extensions. I'm just dynamically installing dependencies based off of your operating system rake RUBYA...