Sha256: ae2e73d4789ebd1f27f774d3f36270152ed5efc95e2dc8c83c630ad8425ed6e3

Contents?: true

Size: 283 Bytes

Versions: 10

Compression:

Stored size: 283 Bytes

Contents

# frozen_string_literal: true

module Bookshelf
  class App < Hanami::App
  end
end

RSpec.describe Hanami do
  describe ".application" do
    it "it assign when concrete class inherits Hanami::Application" do
      expect(Hanami.app).to eq(Bookshelf::Application)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hanami-2.0.3 spec/isolation/hanami/application/inherit_concrete_class_spec.rb
hanami-2.0.2 spec/isolation/hanami/application/inherit_concrete_class_spec.rb
hanami-2.0.1 spec/isolation/hanami/application/inherit_concrete_class_spec.rb
hanami-2.0.0 spec/isolation/hanami/application/inherit_concrete_class_spec.rb
hanami-2.0.0.rc1 spec/isolation/hanami/application/inherit_concrete_class_spec.rb
hanami-2.0.0.beta4 spec/isolation/hanami/application/inherit_concrete_class_spec.rb
hanami-2.0.0.beta3 spec/isolation/hanami/application/inherit_concrete_class_spec.rb
hanami-2.0.0.beta2 spec/isolation/hanami/application/inherit_concrete_class_spec.rb
hanami-2.0.0.beta1.1 spec/isolation/hanami/application/inherit_concrete_class_spec.rb
hanami-2.0.0.beta1 spec/isolation/hanami/application/inherit_concrete_class_spec.rb