Sha256: a5c08bfc03a2af8f71c4fa8be1974fe7d9b1aa5a4cbcabe6c58165201834cbe6

Contents?: true

Size: 661 Bytes

Versions: 3

Compression:

Stored size: 661 Bytes

Contents

require 'spec_helper'

require 'pathname'

require 'engineyard-serverside/callbacks/collection'

module EY
  module Serverside
    module Callbacks
      module Collection

        describe ServiceHooks do
          let(:paths) {Object.new}

          describe '.load' do
            let(:combined) {Object.new}
            let(:result) {described_class.load(paths)}

            it 'is a combined service hooks collection' do
              expect(described_class::Combined).
                to receive(:load).with(paths).and_return(combined)

              expect(result).to eql(combined)
            end
          end
        end

      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
engineyard-serverside-3.0.4 spec/engineyard-serverside/callbacks/collection/service_hooks_spec.rb
engineyard-serverside-3.0.3 spec/engineyard-serverside/callbacks/collection/service_hooks_spec.rb
engineyard-serverside-2.8.0 spec/engineyard-serverside/callbacks/collection/service_hooks_spec.rb