Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7080333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:46:57+00:00 2026-05-28T06:46:57+00:00

How can I start using Rspec with an existing Ruby on Rails 2.3.5 project

  • 0

How can I start using Rspec with an existing Ruby on Rails 2.3.5 project without being able to start using the last versions of rspec and cucumber?

I’m reading The Rspec Book but it covers different versions of rspec and cucumber
I have started with new features but I’m not sure how can I start with existing ones
I’ve found info to test ajax request but it is poor and obscure

The documentation of rspec online it’s confusing for me too.
http://rubydoc.info/gems/rspec-rails/1.3.2

Has anyone has faced the same issue when starting with TDD?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:46:58+00:00Added an answer on May 28, 2026 at 6:46 am

    If you are using Ruby 1.8.7 and Rails 2.3, then to test javascript (including AJAX), you can use this set of gems in your Gemfile. This group of gems will run javascript.

    group :cucumber do
      gem 'capybara', '0.3.9'
      gem 'capybara-envjs', '0.1.6'
      gem 'capybara-envjs-fixes', '0.0.5'
      gem 'cucumber', '0.9.2'
      gem 'cucumber-rails', '0.3.2'
      gem 'launchy', '0.3.7'
    end
    

    This work came from the johnson gem (ruby 1.8.7 only) and is no longer maintained, but worked (slowly’ish) in the 1.8.7/rails 2.3.x era.

    You’ll mark features you want to execute with javascript with:

    Feature: View dashboards
      In order to see my data
      I want to view my dashboard view
    
      @javascript
      Scenario: View dashboard
        Given I am logged in
        ...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to start development using qt-embedded on my embedded device project. Can you
I am using Ruby on Rails 3.0.9 and RSpec 2. I would like to
I'm trying to write a program that can stop and start services using SilverLight
How can I get this to compile? The error is when I start using
Why I can use setcookie without any preparation while need a session_start() before using
How can I get the start and end positions of all matches using the
Using sc command we can query, start , stop windows services. For ex: sc
I want to start learning HTML and AJAX using a Linux distribution. Can anyone
I recall reading somewhere that using references to smart pointers can cause memory corruption.
I'm using spork to speed up my RSpec tests however I can't get it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.