Sha256: ad2084f436e2e690c1c22c7d668b0fedb43f8712b0fb8cefdfdc0b19ede6301b

Contents?: true

Size: 451 Bytes

Versions: 3

Compression:

Stored size: 451 Bytes

Contents

require File.expand_path('../../test_helper', __FILE__)

describe "Kicker, concerning the default `could not handle file' callback" do
  it "should log that it could not handle the given files" do
    kicker = Kicker.new({})
    
    kicker.expects(:log).with('')
    kicker.expects(:log).with("Could not handle: /file/1, /file/2")
    kicker.expects(:log).with('')
    
    Kicker.post_process_chain.last.call(kicker, %w{ /file/1 /file/2 })
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alloy-kicker-1.9.1 test/recipes/could_not_handle_file_test.rb
alloy-kicker-1.9.2 test/recipes/could_not_handle_file_test.rb
alloy-kicker-1.9.3 test/recipes/could_not_handle_file_test.rb