Sha256: 36d196798e0860c4048a8415b1978e3b2ddc81d41f1b0fc3addf8812601b4047

Contents?: true

Size: 579 Bytes

Versions: 26

Compression:

Stored size: 579 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"),
      EY::Model::App.from_hash("id" => 4532, "name" => "app_duplicate"),
      EY::Model::App.from_hash("id" => 4533, "name" => "app_duplicate"),
    ])
  end

    include_examples "model collections"
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
engineyard-1.4.29 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.28 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.27 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.24 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.23 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.22 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.21 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.20 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.19 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.18 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.17 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.16 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.15 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.14 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.13 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.11 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.10 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.9 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.8 spec/engineyard/collection/apps_spec.rb
engineyard-1.4.7 spec/engineyard/collection/apps_spec.rb