Sha256: 58f5a84533f04089e04b2dcf98c7f5910a7a9c17e877b20f5cdaf8d9341f081f

Contents?: true

Size: 336 Bytes

Versions: 12

Compression:

Stored size: 336 Bytes

Contents

require "spec_helper"

module CFoundry
  module V2
    describe Event do
      let(:event) { build(:event, :app_update, changes: ['STARTED', 'STOPPED']) }

      describe "#metadata" do
        it "contains the changes" do
          expect(event.metadata[:changes]).to eq(['STARTED', 'STOPPED'])
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cfoundry-4.6.2 spec/cfoundry/v2/event_spec.rb
cfoundry-4.6.1 spec/cfoundry/v2/event_spec.rb
cfoundry-4.6.0 spec/cfoundry/v2/event_spec.rb
cfoundry-4.5.3 spec/cfoundry/v2/event_spec.rb
cfoundry-4.5.2 spec/cfoundry/v2/event_spec.rb
cfoundry-4.5.1 spec/cfoundry/v2/event_spec.rb
cfoundry-4.5.0 spec/cfoundry/v2/event_spec.rb
cfoundry-4.3.12 spec/cfoundry/v2/event_spec.rb
cfoundry-4.3.11 spec/cfoundry/v2/event_spec.rb
cfoundry-4.3.10 spec/cfoundry/v2/event_spec.rb
cfoundry-4.3.9 spec/cfoundry/v2/event_spec.rb
cfoundry-4.3.8 spec/cfoundry/v2/event_spec.rb