Sha256: 1f71a784005d2934d8b3b1c31ff97950acc6f2ac825d34d27247590b7e76e6de

Contents?: true

Size: 576 Bytes

Versions: 17

Compression:

Stored size: 576 Bytes

Contents

RSpec.describe "new app", type: :cli do
  describe "umbrella project" do
    it "boots and displays a welcome page" do
      with_project do
        run_app do |app|
          expect(app.get("/")).to eq "<html><body><h1>Welcome to dry-web-roda!</h1></body></html>"
        end
      end
    end
  end

  describe "flat project" do
    it "boots and displays a welcome page" do
      with_project arch: "flat" do
        run_app do |app|
          expect(app.get("/")).to eq "<html><body><h1>Welcome to dry-web-roda!</h1></body></html>"
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
dry-web-roda-0.13.1 spec/integration/new_app_spec.rb
dry-web-roda-0.13.0 spec/integration/new_app_spec.rb
dry-web-roda-0.12.0 spec/integration/new_app_spec.rb
dry-web-roda-0.11.0 spec/integration/new_app_spec.rb
dry-web-roda-0.10.0 spec/integration/new_app_spec.rb
dry-web-roda-0.9.1 spec/integration/new_app_spec.rb
dry-web-roda-0.9.0 spec/integration/new_app_spec.rb
dry-web-roda-0.8.0 spec/integration/new_app_spec.rb
dry-web-roda-0.7.5 spec/integration/new_app_spec.rb
dry-web-roda-0.7.4 spec/integration/new_app_spec.rb
dry-web-roda-0.7.3 spec/integration/new_app_spec.rb
dry-web-roda-0.7.2 spec/integration/new_app_spec.rb
dry-web-roda-0.7.1 spec/integration/new_app_spec.rb
dry-web-roda-0.7.0 spec/integration/new_app_spec.rb
dry-web-roda-0.6.3 spec/integration/new_app_spec.rb
dry-web-roda-0.6.2 spec/integration/new_app_spec.rb
dry-web-roda-0.6.1 spec/integration/new_app_spec.rb