Sha256: 1d34d77c18313e98a45ab52bbd68dfbb9a0be6df7fe7106f437156004b67c6eb
Contents?: true
Size: 362 Bytes
Versions: 9
Compression:
Stored size: 362 Bytes
Contents
require 'spec_helper' describe ActiveData::Model::Conventions do let(:model) { stub_model } specify { expect([model].flatten).to eq([model]) } specify { expect(model.i18n_scope).to eq(:active_data) } specify { expect(model.new).not_to be_persisted } specify { expect(model.new).to be_new_record } specify { expect(model.new).to be_new_object } end
Version data entries
9 entries across 9 versions & 1 rubygems