Sha256: 67d39702ac8a6d567757cd7e1823b8d060c80554cae15494aa8ad03e68ddcdcf

Contents?: true

Size: 321 Bytes

Versions: 10

Compression:

Stored size: 321 Bytes

Contents

# frozen_string_literal: true

module Bookshelf
  class App < Hanami::App
  end
end

RSpec.describe Hanami::Application do
  describe ".routes" do
    subject { Hanami.app.routes }

    it "raises error when not configured" do
      expect { subject }.to raise_error("Hanami.app.routes not configured")
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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