Sha256: ca7544b2f386f428fda5c06e1f60f5703a442c36fc1258524121e1bac6b33e42
Contents?: true
Size: 329 Bytes
Versions: 2
Compression:
Stored size: 329 Bytes
Contents
RSpec.shared_examples "a fixity checkable object" do describe "fixity check" do before do subject.thumbnail.content = '1234567890' subject.save(validate: false) end it "can check fixity" do expect { subject.check_fixity }.to change(subject.fixity_checks, :count).from(0).to(1) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ddr-models-3.0.0.beta.12 | spec/support/shared_examples_for_fixity_checkable_spec.rb |
ddr-models-3.0.0.beta.11 | spec/support/shared_examples_for_fixity_checkable_spec.rb |