Sha256: c61736c89731eb7b1d9d84154ef7769f9c085018bd7d7f2c7223399dd0f10c4e

Contents?: true

Size: 359 Bytes

Versions: 4

Compression:

Stored size: 359 Bytes

Contents

require 'pathname'
require Pathname(__FILE__).dirname.expand_path.parent + 'spec_helper'

if HAS_SQLITE3 || HAS_MYSQL || HAS_POSTGRES
  describe DataMapper::Model do
    it_should_behave_like 'It Has Setup Resources'

    before :all do
      @dragons   = Dragon
      @countries = Country
    end

    it_should_behave_like 'An Aggregatable Class'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dm-aggregates-0.9.11 spec/public/model_spec.rb
dm-aggregates-0.9.10 spec/public/model_spec.rb
dm-aggregates-0.9.9 spec/public/model_spec.rb
dm-aggregates-0.9.8 spec/public/model_spec.rb