I\'m setting up some integration tests using capybara and rspec. In a single test, this works: describe \"SIGN IN, POST post\"开发者_JAVA技巧 do
My project is using Rails 3 and RSpec and Capybara for testing. I want to support visitors without javascript, so I\'ve added a \'delete\' member to my resource routes. My non-js links look like /pos
I have gone through the post of capybara + click on alert box but nothing seems to be work. Following is my scenario:
I\'ve tried several examples found online, but with no luck.I am looking to confirm the confirm message of a delete link.The last attempt was the code below, but that resulted in an Capybara::NotSuppo
I allow users to share photos with other individuals.When the user is viewing a photo and its description, they can click on \"share\" and a new page loads.On this page the fill in an email address (a
I am relatively new to BDD and have been struggling to get my test environme开发者_高级运维nt set up and stable, and a lot of googling has still failed to surface how to solve this problem.
I am using jquery UI dialogs in Rails. How do you use cucumber to test for opening dialogs? I have a re开发者_StackOverflow社区gistration dialog and after that another confirmation dialog. The latter
I\'ve been using Cucumber & Capybara for integration testing. Since the site uses a lot of javascript, i set the environment to use selenium as the javascript driver. However, it seems to keep fai
I was given a sample sinatra project with a hello world for capybara testing in akephalos.I understand the concept by looking at the code, but how do i run it?If I run rackup config.ru, and then go to
So I am trying to ensure that a callback happens on save...My test is: user = create_user login user visit new_post_path