Sha256: ba4d465866ebd179da649e82ff8628e51f86b2cb5d9e223b6db586c2bf57cc99

Contents?: true

Size: 633 Bytes

Versions: 26

Compression:

Stored size: 633 Bytes

Contents

require 'spec_helper'

describe EY::Collection::Environments do
  before do
    @collection_class = EY::Collection::Environments
    @collection = @collection_class.new([
      EY::Model::Environment.from_hash("id" => 1234, "name" => "app_production"),
      EY::Model::Environment.from_hash("id" => 4321, "name" => "app_staging"),
      EY::Model::Environment.from_hash("id" => 8765, "name" => "bigapp_staging"),
      EY::Model::Environment.from_hash("id" => 4532, "name" => "app_duplicate"),
      EY::Model::Environment.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/environments_spec.rb
engineyard-1.4.28 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.27 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.24 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.23 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.22 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.21 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.20 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.19 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.18 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.17 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.16 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.15 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.14 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.13 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.11 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.10 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.9 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.8 spec/engineyard/collection/environments_spec.rb
engineyard-1.4.7 spec/engineyard/collection/environments_spec.rb