Jonathan,
This should work:
within #user_43 do |scope|
scope.click_link Edit
end
If you're using Rails' record identification HTML helpers, you can do
something like within('#' + dom_id(user)) to save some typing.
Scott's right that I'd recommend avoiding targeting IDs when possible,
but
Thank you Pat Maddox,Douglas Adams,Luis Lavena,Scott Taylor for your
kind help.
I have installed the plugins rspec and rspec-rails using git.
I was not running the spec controller from the root thats the main
problem.
I followed all of your useful suggestions and able to build and run a
Hi,
ThoughtWorks just released the auto test toolset Twist, the tagging
feature seems pretty useful,
http://studios.thoughtworks.com/twist-agile-test-automation/twist-features-and-benefits
Tags
allow you to organize test suites in multiple dimensions. With tags,
you can include a test in a smoke
thanks guys
yeah, my case is a step like When I click on the $tab tab... I want
to make sure its a link in a tab, not some other link on the page
with the same text
On Oct 14, 2008, at 2:13 AM, Bryan Helmkamp wrote:
Jonathan,
This should work:
within #user_43 do |scope|
On Tue, Oct 14, 2008 at 8:47 AM, wei wei [EMAIL PROTECTED] wrote:
Hi,
ThoughtWorks just released the auto test toolset Twist, the tagging
feature seems pretty
useful,
http://studios.thoughtworks.com/twist-agile-test-automation/twist-features-and-benefits
Tags
allow you to organize test
No advice on that?
Should i open a ticket on Lighthouse?
I also would try to implement that...
Thanks,
Thomas
-Ursprüngliche Nachricht-
Von: Thomas Marek [EMAIL PROTECTED]
Gesendet: 09.10.08 15:25:14
An: rspec-users rspec-users@rubyforge.org
Betreff: [rspec-users] Cucumber:
I opened a ticket for that:
http://rspec.lighthouseapp.com/projects/16211/tickets/44-ability-to-teardown-failing-or-pending-scenarios-in-different-ways
Thomas
-Ursprüngliche Nachricht-
Von: Michael Latta [EMAIL PROTECTED]
Gesendet: 14.10.08 17:31:58
An: rspec-users
One of my examples now is like below
### case_1001.feature
Feature: case_1001
Scenario: 10001
Given the network is CBS
Given the data :
Then there should be an asset with internal id and title1 in DB
--
Wei Wei
___
rspec-users mailing
One of my examples now is like below
### 1001.feature
Feature: 1001
1001 is the internal id for QAs to identify case
Scenario: 1001
Given the title is function1_1001
.
### function1.steps
Given /the title is (.*)/ do |title|
@title = title
end
Actually the title is generated
Why use a cucumber_scenario method when the After method could just
pass it to the block?
Michael
On Oct 14, 2008, at 1:31 AM, aslak hellesoy wrote:
On Tue, Oct 14, 2008 at 9:38 AM, Thomas Marek [EMAIL PROTECTED]
wrote:
No advice on that?
Should i open a ticket on Lighthouse?
Please
On Tue, Oct 14, 2008 at 6:40 PM, wei wei [EMAIL PROTECTED] wrote:
One of my examples now is like below
### 1001.feature
Feature: 1001
1001 is the internal id for QAs to identify case
Scenario: 1001
Given the title is function1_1001
.
### function1.steps
Given /the title
On Tue, Oct 14, 2008 at 1:49 PM, aslak hellesoy
[EMAIL PROTECTED] wrote:
On Tue, Oct 14, 2008 at 5:29 PM, Michael Latta [EMAIL PROTECTED] wrote:
Why use a cucumber_scenario method when the After method could just pass it
to the block?
Good idea!
Can the Before do the same? Then you could
On Tue, Oct 14, 2008 at 3:39 PM, David Chelimsky [EMAIL PROTECTED] wrote:
On Tue, Oct 14, 2008 at 1:49 PM, aslak hellesoy
[EMAIL PROTECTED] wrote:
On Tue, Oct 14, 2008 at 5:29 PM, Michael Latta [EMAIL PROTECTED] wrote:
Why use a cucumber_scenario method when the After method could just pass it
On Tue, Oct 14, 2008 at 9:52 PM, Zach Dennis [EMAIL PROTECTED] wrote:
On Tue, Oct 14, 2008 at 3:39 PM, David Chelimsky [EMAIL PROTECTED] wrote:
On Tue, Oct 14, 2008 at 1:49 PM, aslak hellesoy
[EMAIL PROTECTED] wrote:
On Tue, Oct 14, 2008 at 5:29 PM, Michael Latta [EMAIL PROTECTED] wrote:
Why
On Tue, Oct 14, 2008 at 5:29 PM, Michael Latta [EMAIL PROTECTED] wrote:
Why use a cucumber_scenario method when the After method could just pass it
to the block?
Good idea!
Michael
On Oct 14, 2008, at 1:31 AM, aslak hellesoy wrote:
On Tue, Oct 14, 2008 at 9:38 AM, Thomas Marek [EMAIL
http://blog.davidchelimsky.net/2008/7/1/new-controller-examples
BTW great post, thanks :-)
I was wondering the thinking of this one
describe responding to POST /accounts do
describe with failed save do
it should create a new account do
Hi,
Is there any way to experiment with rSpec in irb or script/console
session?
Tried this:
require 'spec'
= true
[1,2,3].should have(3).items
= NoMethodError: undefined method `have' for main:Object
from (irb):4
from
17 matches
Mail list logo