Skip to content

Add support for model validation #16

@sugarb

Description

@sugarb

perhaps something like is_(not_)valid_with. To replace the following:

specify_with('foo', 'bar', 'baz' )      { is_expected.to be_valid }
specify_with('foo', 'bar', :invalid)    { is_expected.not_to be_valid }

Replacement might look like:

is_valid_with     'foo', 'bar', 'baz'
is_not_valid_with 'foo', 'bar', :invalid

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions