Sha256: a7081498743ad75387208de4c29176727c59ecbef860bb003e6541065e1723e8
Contents?: true
Size: 270 Bytes
Versions: 3
Compression:
Stored size: 270 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' RSpec.describe Article, '.lock!' do subject { described_class.create title: 'title' } it 'works' do record = described_class.find(subject.to_param) expect { record.lock! }.not_to raise_error end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
idy-0.1.3 | spec/lib/idy/extension/lock_spec.rb |
idy-0.1.2 | spec/lib/idy/extension/lock_spec.rb |
idy-0.1.1 | spec/lib/idy/extension/lock_spec.rb |