Sha256: c720c5aebc3132b63ce135a60dd62d81a8e755242f5c8bdbab0692793ea6f791

Contents?: true

Size: 438 Bytes

Versions: 11

Compression:

Stored size: 438 Bytes

Contents

require 'spec_helper'

describe EY::Collection::Apps do
  before do
    @collection_class = EY::Collection::Apps
    @collection = @collection_class.new([
      EY::Model::App.from_hash("id" => 1234, "name" => "app_production"),
      EY::Model::App.from_hash("id" => 4321, "name" => "app_staging"),
      EY::Model::App.from_hash("id" => 8765, "name" => "bigapp_staging"),
    ])
  end

    it_should_behave_like "model collections"
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
engineyard-1.2.1 spec/engineyard/collection/apps_spec.rb
engineyard-1.2.0 spec/engineyard/collection/apps_spec.rb
engineyard-1.1.3 spec/engineyard/collection/apps_spec.rb
engineyard-1.1.2 spec/engineyard/collection/apps_spec.rb
engineyard-1.1.1 spec/engineyard/collection/apps_spec.rb
engineyard-1.1.0 spec/engineyard/collection/apps_spec.rb
engineyard-1.0.2 spec/engineyard/collection/apps_spec.rb
engineyard-1.0.1 spec/engineyard/collection/apps_spec.rb
engineyard-1.0.0 spec/engineyard/collection/apps_spec.rb
engineyard-0.10.0 spec/engineyard/collection/apps_spec.rb
engineyard-0.9.0 spec/engineyard/collection/apps.rb