paper_trail_scrapbook 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -57,6 +57,9 @@ module PaperTrailScrapbook
57
57
  'amount:',
58
58
  '- ',
59
59
  '- 29612.0',
60
+ 'unchanged:',
61
+ '- 2',
62
+ '- 2',
60
63
  'discounted_amount:',
61
64
  '- ',
62
65
  '- !ruby/object:BigDecimal 36:0.29612E5',
@@ -86,6 +89,12 @@ module PaperTrailScrapbook
86
89
  expect(result).to match(/other terms: was \*removed\*/)
87
90
  end
88
91
 
92
+ it 'filters out unchanged values' do
93
+ result = subject
94
+
95
+ expect(result).not_to match(/• unchanged: 2 -> 2/)
96
+ end
97
+
89
98
  it 'filters the proper columns' do
90
99
  result = subject
91
100
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paper_trail_scrapbook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timothy Chambers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-14 00:00:00.000000000 Z
11
+ date: 2018-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord