Created
March 22, 2010 02:19
-
-
Save onethirtyfive/339745 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error: | |
Scenario: Visiting landing page # features/landing.feature:5 | |
Given I am on the landing page # features/step_definitions/web_steps.rb:15 | |
undefined method `visit' for #<Cucumber::Rails::World:0x63cc072> (NoMethodError) | |
./features/step_definitions/web_steps.rb:15:in `/^(?:|I )am on (.+)$/' | |
features/landing.feature:6:in `Given I am on the landing page' | |
Then I should see a welcome message # features/landing.feature:7 | |
From features/support/env.rb: | |
ENV["RAILS_ENV"] ||= "test" | |
require File.expand_path(File.dirname(__FILE__) + '/../../config/environment') | |
[snip: cucumber requires] | |
require 'webrat' | |
require 'webrat/core/matchers' | |
Webrat.configure do |config| | |
config.mode = :rails | |
config.open_error_files = false # Set to true if you want error pages to pop up in the browser | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment