diff options
| author | Xinhui | 2017-11-22 16:32:32 +0100 | 
|---|---|---|
| committer | Xinhui | 2017-11-28 12:21:33 +0100 | 
| commit | 86fd42a9136cb6eef87ecec3d0b2bcf579667798 (patch) | |
| tree | a3ef5d442d91ea9cbf6608f2e9111691e8bd4567 /spec/models/api | |
| parent | bc7888297ae545ae3c453c5c9481d22b37a0dad4 (diff) | |
| download | chouette-core-86fd42a9136cb6eef87ecec3d0b2bcf579667798.tar.bz2 | |
Add has_paper_trail on models
Diffstat (limited to 'spec/models/api')
| -rw-r--r-- | spec/models/api/v1/api_key_spec.rb | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/spec/models/api/v1/api_key_spec.rb b/spec/models/api/v1/api_key_spec.rb index b700429d3..cc483a118 100644 --- a/spec/models/api/v1/api_key_spec.rb +++ b/spec/models/api/v1/api_key_spec.rb @@ -4,6 +4,7 @@ RSpec.describe Api::V1::ApiKey, type: :model do    subject { create(:api_key) }    it { should validate_presence_of :organisation } +  it { is_expected.to be_versioned }    it 'should have a valid factory' do      expect(build(:api_key)).to be_valid | 
