assert_matches_snapshot 1.1.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 25829ecdc85298fc3e13d6bdb3bcf88ffb240c9b
4
- data.tar.gz: 157c20fe5ef9c02e31319f8d022887ce65e38466
3
+ metadata.gz: 5a2388aee0dcd0d5dc00bc29f2b7dd935f2d7936
4
+ data.tar.gz: 73b8068b474d8d38e48dd59d0327d0c68465289a
5
5
  SHA512:
6
- metadata.gz: 8115edab9c0997a498f506a1306810f7a189b9fe2582d3e3dba69393239ed2b5772c6a60fab24cbbbb34dba684d0ac5da141e1a03a46f40fd9e597bde27f842d
7
- data.tar.gz: 5fc81fd8d242a95cc18cd7399f77cf42d4a03a575d64194dcaa6baa2e5561c465c13acfba648b2ca65157b4ca90655a84e71628716542419ff0640614e3e8f70
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
 
@@ -1,3 +1,3 @@
1
1
  module AssertMatchesSnapshot
2
- VERSION = "1.1.1"
2
+ VERSION = "1.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: assert_matches_snapshot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Broadley