Sha256: b7ba393a2a90a47aab45b80442fc616ec46f57d77481ad797f98ae96d379fb84

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

Stored size: 380 Bytes

Contents

# encoding: UTF-8
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

1 entries across 1 versions & 1 rubygems

Version Path
active_data-1.0.0 spec/lib/active_data/model/conventions_spec.rb