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

  • Home
  • SEARCH
  • 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 3490248
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:29:35+00:00 2026-05-18T11:29:35+00:00

I am using cucumber and RSpec for my new ruby on rails application and

  • 0

I am using cucumber and RSpec for my new ruby on rails application and will be using some third party oAuth APIs to send/retrieve data. I am fairly new to both cucumber and RSpec and have never had to implement third party functionality like this before. What is the best way to handle this from a spec and feature writing perspective? I know I shouldn’t be querying the services directly, because I can’t spec for them being up or down, etc, so I’m sure I will need to stub/mock some objects/functions. Any help in this matter would be appreciated.

  • 1 1 Answer
  • 1 View
  • 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-18T11:29:36+00:00Added an answer on May 18, 2026 at 11:29 am

    I use a gem called webmock and stub out the requests with results that I know are good.
    You can also automatically record requests with EphemeralResponse, but I haven’t used that yet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Ruby on Rails 3.2.2, cucumber-rails-1.3.0 and rspec-rails-2.8.1. Since I have some
After doing some stuff in Ruby on Rails with Cucumber, RSpec and Ruby BDD
I am using Ruby on Rails 3.2.2, cucumber-rails-1.3.0, rspec-rails-2.8.1, capybara-1.1.2 and factory_girl-2.6.3. I have
Its a rails 2.3.5 app. I'm using the rspec and cucumber for testing. When
I am using Ruby on Rails with Cucumber and Capybara. How would I go
How can I start using Rspec with an existing Ruby on Rails 2.3.5 project
I'm using Cucumber with RSpec in a Rails project. When I use the rake
What are some good example open source Ruby projects that use Cucumber and RSpec
We're using RSpec and Cucumber in our Rails apps with good results. Webrat is
Using Capybara with Rails 3, Rspec and Cucumber, When I use the select statement,

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.