search for: each_run

Displaying 2 results from an estimated 2 matches for "each_run".

Did you mean: each_r
2013 Jun 18
1
Getting rspec error: Net::SMTPServerBusy: Relay access denied
...rspec/autorun'' require ''capybara/rspec'' Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} RSpec.configure do |config| config.use_transactional_fixtures = true config.infer_base_class_for_anonymous_controllers = false endend Spork.each_run do FactoryGirl.reloadend test.rb: Upficial::Application.configure do config.whiny_nils = true config.consider_all_requests_local = true config.action_controller.perform_caching = false config.action_mailer.delivery_method = :testend The test itself is very straightforward: requi...
2011 Jan 20
11
RSpec / Cucumber painfully slow Rails 3 OSX
I am working on my first Rails BDD project with extensive tests since starting out with Rails a few years ago. Running RSpec or Cucumber is really slow. I''m using Rails 3 and RSpec 2. To run one model spec with only 5 tests takes almost 1 minute! When it finishes it says it took only 0.9 seconds to run the actual test. So obviously it is loading the environment that takes so long. I just