Topic: cucumber webrat selenium not showing routing errors in output


first of all I gotta say I'm totally newbie to RoR developing and I just set up my cucumber, webrat, selenium testing environment my problem is that I'm using "visit '/blahblah'" and when I run cucumber -p selenium to make the test goes it doesn't show me the "routing error", of course I haven't set up the resource in routes.rb

Here is the output I'm getting...Of course the selenium automated browsers shows the routing error...

Using the default profile...
.==> Waiting for Selenium RC server on port 4444... Ready!
==> Waiting for rails application server on port 3001... Ready!

1 scenario (1 passed)
3 steps (3 passed)

Here is my step definition...

When /^I add a new event name Congreso de Sistemas$/ do
  visit '/events'

Here  is my env configuration...

# Excerpted from "The RSpec Book",
# published by The Pragmatic Bookshelf.
# Copyrights apply to this code. It may not be used to create training material,
# courses, books, articles, and the like. Contact us if you are in doubt.
# We make no guarantees that this code is fit for any purpose.
# Visit for more book information.
ENV["RAILS_ENV"] ||= "cucumber"
require File.expand_path(File.dirname(__FILE__) + '/../../config/environment')

require 'cucumber/formatter/unicode'
require 'cucumber/rails/rspec'
require 'cucumber/rails/world'
require 'cucumber/rails/active_record'
require 'cucumber/web/tableish'

require 'webrat'
require 'webrat/core/matchers'

Webrat.configure do |config|
  config.mode = :selenium # was rails
  config.open_error_files = false

ActionController::Base.allow_rescue = false

Cucumber::Rails::World.use_transactional_fixtures = false

require 'database_cleaner'
DatabaseCleaner.strategy = :truncation

class ActiveSupport::TestCase
  setup do |session|! "localhost:3001"

Here is my cucumber.yml file

default:      --color --tags ~@selenium,~@wip       --format progress
wip:          --color --tags @wip:2           --wip --format pretty