ApprovalTests.Ruby icon indicating copy to clipboard operation
ApprovalTests.Ruby copied to clipboard

Approval Tests for Ruby

Results 19 ApprovalTests.Ruby issues
Sort by recently updated
recently updated
newest added

## Description Closes #91 Adds an "Example use cases" section to the README with an example `verify_sql` Rspec helper for use in Rails apps with complex SQL queries. I was...

I've had good luck with the following pattern in my apps and I'm curious if there would be any interest in wrapping this up into a new feature for the...

as per #109, also relates to options

possibly with options (I assume Llewellyn knows what this means)

Possibly this already exists (lol, you want me to read the README?), but: https://github.com/approvals/ApprovalTests.Ruby/runs/8235260417?check_suite_focus=true for JRuby indicates that approvals failed, but not what or why

Approvals::ApprovalError: Approval Error: Received file does not match approved: spec/fixtures/approvals/ampcontroller/renders_article.received.html spec/fixtures/approvals/ampcontroller/renders_article.approved.html approved fragment: uper-bowl-opening-night-2016-best-moments received fragment: uper-bowl-ening-night-2016-best-moments-a Gives instant idea of what could be wrong. Plus indispensable, when approval error...

There currently exists a way to exclude dynamically changing data (e.g. dates) from JSON. It would be nice to extend this to text documents (and maybe HTML) as well.

Similar to issue #84 there are also differences in the HTML output between JRuby and MRI. Example: ````ruby describe "a html response" do let(:test_html) do

I often have the problem that there are minor differences between the output of an approval test in jruby and mri. We run our tests in both rubies so the...

Comment from @markijbema in #69 > Also, do I understand correctly (been a while since I used approvals) that there are two ways to configure Approvals? That is suboptimal at...