Sha256: c5d44e1e3a424a9a17f9a1bd947c5325f122b240238f260ee87dd1073cfbdb08

Contents?: true

Size: 256 Bytes

Versions: 8

Compression:

Stored size: 256 Bytes

Contents

# frozen_string_literal: true

RSpec.describe "Root", type: :request do
  it "is successful" do
    get "/"

    # Find me in `config/routes.rb`
    expect(last_response).to be_successful
    expect(last_response.body).to eq("Hello from Hanami")
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hanami-rspec-2.1.0.beta1 lib/hanami/rspec/generators/request.rb
hanami-rspec-2.0.1 lib/hanami/rspec/generators/request.rb
hanami-rspec-2.0.0 lib/hanami/rspec/generators/request.rb
hanami-rspec-2.0.0.rc1 lib/hanami/rspec/generators/request.rb
hanami-rspec-3.11.0.beta4 lib/hanami/rspec/generators/request.rb
hanami-rspec-3.11.0.beta3 lib/hanami/rspec/generators/request.rb
hanami-rspec-3.11.0.beta2 lib/hanami/rspec/generators/request.rb
hanami-rspec-3.11.0.beta1 lib/hanami/rspec/generators/request.rb