mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
use old hashrocket syntax
This commit is contained in:
parent
a748747a8a
commit
c665a51970
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ describe Thing, :type => :model do
|
|||
it { is_expected.to be_versioned }
|
||||
|
||||
describe "should not store object_changes", :versioning => true do
|
||||
let(:thing) { Thing.create(name: "pencil") }
|
||||
let(:thing) { Thing.create(:name =>"pencil") }
|
||||
|
||||
it { expect(thing.versions.last.object_changes).to be_nil }
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
class Thing < ActiveRecord::Base
|
||||
has_paper_trail save_changes: false
|
||||
has_paper_trail :save_changes => false
|
||||
end
|
Loading…
Reference in a new issue