Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

missing error_on and errors_on #9

Closed
dchelimsky opened this Issue · 3 comments

3 participants

@dchelimsky
Owner

Per https://rspec.lighthouseapp.com/projects/5645/tickets/962

Need to add support for:

Widget.should have(1).error_on(:name)
Widget.should have(2).errors_on(:email)
@ethangunderson

I'll take a look at this.

@cgs
cgs commented

Workaround I'm using for now:

foo.should have(1).error_on(:name) becomes:
foo.errors[:name].should_not be_empty
@dchelimsky
Owner

Add error_on and errors_on (pulled from rspec-1 and tweaked for rails-3)

Closed by afea2f5

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.