Sha256: 096ed9ddf4cfc2fe3976b8c77eed1bfe6556ce57a20fc11196ded5a13f1a8a54
Contents?: true
Size: 363 Bytes
Versions: 6
Compression:
Stored size: 363 Bytes
Contents
require 'rails_helper' module Kitchen describe Banana, :type => :model do it { is_expected.to be_versioned } describe '#versions' do it "returns instances of Kitchen::BananaVersion", :versioning => true do banana = described_class.create! expect(banana.versions.first).to be_a(Kitchen::BananaVersion) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems