Enable soft_deletion of Legislation::DraftVersion::Translations

This commit is contained in:
Senén Rodero Rodríguez
2019-01-21 13:17:15 +01:00
committed by voodoorai2000
parent 458fb750eb
commit f6b41f916b
3 changed files with 12 additions and 2 deletions

View File

@@ -1,7 +1,9 @@
require "rails_helper"
RSpec.describe Legislation::DraftVersion, type: :model do
let(:legislation_draft_version) { build(:legislation_draft_version) }
describe Legislation::DraftVersion do
let(:legislation_draft_version) { build(:legislation_draft_version) }
it_behaves_like "acts as paranoid", :legislation_draft_version
it "is valid" do
expect(legislation_draft_version).to be_valid