Skip to content

Custom rspec matchers #7

@dgsuarez

Description

@dgsuarez

Build a custom rspec matcher for Similatron.compare

For example something like

expect(Avatar.new(seed: 42).path).to be_similatronic_to("spec/expected_avatars/42.png")

be_similatronic_to is funny, but maybe we should come up with something easier to understand 😛

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions