Sha256: 4436e8571d4779fb51e9062f0cc8171367c5187f65ae49a06e118438eeeca352

Contents?: true

Size: 584 Bytes

Versions: 2

Compression:

Stored size: 584 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-web_pipe!</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-web_pipe!</h1></body></html>"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dry-web-web_pipe-0.2.0 spec/integration/new_app_spec.rb
dry-web-web_pipe-0.1.0 spec/integration/new_app_spec.rb