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.30 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.29 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.28 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.27 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.26 spec/unit/lib/itamae/handler_spec.rb
itamae-1.9.7.pre spec/unit/lib/itamae/handler_spec.rb
itamae-1.9.6 spec/unit/lib/itamae/handler_spec.rb
itamae-1.9.6.pre spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.24 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.23 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.22 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.21 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.20 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.19 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.18 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.17 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.16 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.15 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.14 spec/unit/lib/itamae/handler_spec.rb
itamae-mitsurin-0.13 spec/unit/lib/itamae/handler_spec.rb