assert_matches_snapshot 1.0.1 → 1.0.2

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: 949738a52b7d91dbbae507772c92133e02341e40
4
- data.tar.gz: 8c3b3dd652c8542567bff9b5e6947398ae56ef03
3
+ metadata.gz: 4f2f412dc5511d6b69c5e6137e457151ca001e35
4
+ data.tar.gz: 562e0076b55074bd7b6e2166fd57498812a5f831
5
5
  SHA512:
6
- metadata.gz: 236dabe3e73d145e591037644467a3436b2fe258855c7f85a118cf401d01482b9b426ab4b408d04e8dcbc5a0241158600f36cd7e57756332090edab5f8c4b198
7
- data.tar.gz: 8d0e81c911b5991a5d29d6acf56eaf85745f264837a595b6543eb552ae8f587944c16e64b288f6b2b5e6bfd8a03fd71c94000047baf5eb3597233eb6860b3b9d
6
+ metadata.gz: e54bf7df640bee2bbf0d237370e6085ea7aa2fef033c2ce8458bfe4d02158023e450f13aaa037646e9be60e4866f52a0f8aff3d786390a0173afc26e19e5d962
7
+ data.tar.gz: 9425af48289914da78abb5e35faef7cdae79d7f2470c3328fa3d1383e35622c56cda0a4801945537652e696ac46e08397a7ef7c004bceab9f8e565db86477ef1
@@ -10,7 +10,7 @@ module AssertMatchesSnapshot
10
10
  assert_equal response.body, IO.read(full_path)
11
11
  else
12
12
  File.open(full_path, 'w') do |snapshot_file|
13
- snapshot_file.write(response_body)
13
+ snapshot_file.write(response.body)
14
14
  end
15
15
  end
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module AssertMatchesSnapshot
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
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.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Broadley