Sha256: 604ddd43e0b95bbd87c692a90f9caaa7ce25481ae81c346273d46356df8dbd87

Contents?: true

Size: 362 Bytes

Versions: 30

Compression:

Stored size: 362 Bytes

Contents

require "hanami_helper"

RSpec.describe Health::Actions::Show do
  subject(:action) { described_class.new }

  describe "#call" do
    it "answers 200 OK status with green background" do
      expect(action.call({})).to have_attributes(
        body: [%(<html><body style="background-color: green"></body></html>)],
        status: 200
      )
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
hanamismith-0.27.0 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.26.0 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.25.0 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.24.0 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.23.0 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.22.1 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.22.0 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.21.0 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.20.0 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.19.0 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.18.0 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.17.1 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.17.0 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.16.0 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.15.0 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.14.1 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.14.0 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.13.0 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.12.0 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb
hanamismith-0.11.0 lib/hanamismith/templates/%project_name%/spec/slices/health/actions/show_spec.rb.erb