Skip to content

Commit 38f1d06

Browse files
committed
Fix typos
1 parent 6a21859 commit 38f1d06

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

app/javascript/controllers/address_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export default class extends Controller {
5858
this.corregimientoTarget.add(document.createElement("option"), this.corregimientoTarget[0])
5959
this.corregimientoTarget.value = ""
6060
this.lineTarget.value = ""
61-
// Restore all selecttion boxes
61+
// Restore all selection boxes
6262
this.districtTarget.innerHTML = allDistricts.innerHTML
6363
this.corregimientoTarget.innerHTML = allCorregimientos.innerHTML
6464
// Disable all selection boxes

app/javascript/controllers/sort_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Sortable from "sortablejs"
33
import { patch } from "@rails/request.js"
44

55
// To use this Stimulus controller, create a member route named "sort"
6-
// and wire it to the appropiate Rails controller.
6+
// and wire it to the appropriate Rails controller.
77
// In the views, the main container is bound to the Stimulus controller,
88
// a URL value is attached with the path to the sort action, using ":id"
99
// as a placeholder for the sorted element.

app/models/concerns/diagnostic_report_status.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module DiagnosticReportStatus
2323

2424
aasm column: :status, enum: true do
2525
state :registered, initial: true
26-
state :partial, :preliminary, :final, :amended, :corrected, :apended, :cancelled
26+
state :partial, :preliminary, :final, :amended, :corrected, :appended, :cancelled
2727

2828
event :evaluate do
2929
transitions from: [ :registered, :partial, :preliminary ], to: :registered, if: :no_values?

app/models/doctor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
class Doctor < ApplicationRecord
44
include FHIRable::Practitioner
55

6-
GENDERS = %w[male female other unkwown].freeze
6+
GENDERS = %w[male female other unknown].freeze
77

88
has_many :accessions, dependent: :nullify
99
has_many :quotes, dependent: :nullify

app/models/qualified_interval.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
class QualifiedInterval < ApplicationRecord
44
ANIMAL_SPECIES = (0..3).to_a
55
CATEGORIES = %w[reference critical absolute].freeze
6-
GENDERS = %w[male female other unkwown].freeze
6+
GENDERS = %w[male female other unknown].freeze
77

88
belongs_to :lab_test
99
belongs_to :interpretation, class_name: "LabTestValue", optional: true

test/models/patient/search_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class PatientSearchTest < ActiveSupport::TestCase
3939
assert_not_includes search, @bob
4040
end
4141

42-
test "search for patients with multiple argumets" do
42+
test "search for patients with multiple arguments" do
4343
alicia = patients(:alicia)
4444

4545
search = Patient.search "alice alicia"

0 commit comments

Comments
 (0)