Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>First I found <a href="https://stackoverflow.com/questions/1378333/cucumber-webrat-selenium-guide">Cucumber + Webrat + Selenium guide</a> which is really useful</p> <p>Second, I removed </p> <pre><code>require "selenium/rspec/spec_helper" require "spec/test/unit" </code></pre> <p>And added </p> <pre><code>require 'spec_helper' </code></pre> <p>Where <code>spec_helper</code> is the contained in the spec folder</p> <p>I also removed all the methods that is <code>append_after</code></p> <p>Basically now the test cases runnable, this is not the best solution, but it is what I did do so far.</p> <p>P.S: need to download the Selenium server from <a href="http://seleniumhq.org/download/" rel="nofollow noreferrer">http://seleniumhq.org/download/</a> and run the server with <code>java -jar selenium-server-standalone-2.0b2.jar</code></p> <hr> <p><strong>spec_helper</strong></p> <pre><code># This file is copied to spec/ when you run 'rails generate rspec:install' ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../../config/environment", __FILE__) require 'rspec/rails' # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} RSpec.configure do |config| # == Mock Framework # # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line: # # config.mock_with :mocha # config.mock_with :flexmock # config.mock_with :rr config.mock_with :rspec # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures config.fixture_path = "#{::Rails.root}/spec/fixtures" # If you're not using ActiveRecord, or you'd prefer not to run each of your # examples within a transaction, remove the following line or assign false # instead of true. config.use_transactional_fixtures = true end </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload