assert_matches_snapshot 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/assert_matches_snapshot/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a2388aee0dcd0d5dc00bc29f2b7dd935f2d7936
|
4
|
+
data.tar.gz: 73b8068b474d8d38e48dd59d0327d0c68465289a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 345914637a431bd42071ab38b216ad767efd12f54c213245a58dae1de074a0452033dd6148b92b479f897f79fcf73aba6c8d9ae66afb06ac7167177c06773f79
|
7
|
+
data.tar.gz: 73bce722f58abf9b49597f8947e620add5ee75f80df3c4df5ae02efa2fca2b87d0cdb6085991d7c894241b818df78305b7a91ba0a13c244fcbe736e0aba5bb08
|
data/README.md
CHANGED
@@ -28,7 +28,9 @@ assert_matches_snapshot 'after page is loaded'
|
|
28
28
|
|
29
29
|
`assert_matches_snapshot` takes one argument: a string that is used to distinguish snapshots from each other. This string should be unique across all tests for a controller-action combination.
|
30
30
|
|
31
|
-
To overwrite the snapshots, set the environment variable `OVERWRITE_SNAPSHOTS=true` before running your test command.
|
31
|
+
To overwrite the snapshots, set the environment variable `OVERWRITE_SNAPSHOTS=true` before running your test command. For example, in a Linux environment:
|
32
|
+
|
33
|
+
$ OVERWRITE_SNAPSHOTS=true rails test
|
32
34
|
|
33
35
|
## Development
|
34
36
|
|