⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Make #has and #item pass value to block#17

Open
kapcod wants to merge 1 commit intoalto:masterfrom
kapcod:pass_value
Open

Make #has and #item pass value to block#17
kapcod wants to merge 1 commit intoalto:masterfrom
kapcod:pass_value

Conversation

@kapcod
Copy link

@kapcod kapcod commented Oct 11, 2018

This allows doing additonal asserts on the value like:
has 'price' do |price|
assert_operator price, :>, 0
end

This allows doing additonal asserts on the value like:
  has 'price' do |price|
    assert_operator price, :>, 0
  end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant