Sha256: 36207003576b15f64dfe9ab4e606b550350030e93c2af482611e6f2bdf32e3e3

Contents?: true

Size: 225 Bytes

Versions: 96

Compression:

Stored size: 225 Bytes

Contents

require 'spec_helper'

module Itamae
  describe Handler do
    describe ".from_type" do
      it "returns handler class" do
        expect(described_class.from_type('debug')).to eq(Handler::Debug)
      end
    end
  end
end

Version data entries

96 entries across 96 versions & 3 rubygems

Version Path
itamae-mitsurin-0.48 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.47 spec/unit/lib/itamae/handler_spec.rb
itamae-1.9.9 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.46 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.45 spec/unit/lib/itamae/handler_spec.rb
itamae-1.9.8 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.44 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.43 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.42 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.41 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.40 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.39 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.38 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.37 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.36 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.35 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.34 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.33 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.32 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.31 spec/unit/lib/itamae/handler_spec.rb