Skip to content

Capybara matchers in view specs #302

@wincent

Description

@wincent

So Capybara 0.4.1.rc just came out with the new Capybara.string method which allows you to use Capybara matchers on arbitrary strings. This is great because it brings us one step closer to being able to transparently use Capybara matchers in view specs (at the moment, we're stuck with using Capybara matchers in acceptance specs and similar-but-slightly-different Webrat matchers in view specs, which is a little uncomfortable).

I understand from this thread that you've already done some work on this, but I can't see any publicly-visible trace of it yet.

So just wanted to get this ticket into the tracker so it doesn't slip off the radar. And if you do have any work in progress, please share it as I'd be glad to help in finishing it off.

Cheers,
Wincent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions