From 2ce56ba3e850607e26a3e621d5d43cda350fb938 Mon Sep 17 00:00:00 2001 From: abid123456 <30424473+abid123456@users.noreply.github.com> Date: Tue, 29 Oct 2024 06:42:26 +0700 Subject: [PATCH] refix (#169) * refix * Update README.md fix typo --- README.md | 2 +- db/structure.sql | 2 +- test/models/long_submission_test.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c933fb17..bfe781bd 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ diadaptasi dari [panduan instalasi untuk Ubuntu](https://github.com/rvm/ubuntu_r 8. Buat `.env` file di root directory dan pindahkan isi dari `.env.default` kedalam `.env`. Setiap variabel di dalam `.env` diisi sesuai dengan yang dibutuhkan. 9. *Setup* awal untuk menjalankan server selesai. Untuk menjalankan server lokal, gunakan ```bash - bundle exeec rails s + bundle exec rails s ``` 10. Sekarang, Anda bisa membuat *admin* di dalam website yang telah dibuat: 1. Dalam *browser*, buka alamat website versi lokal (*default*: `0.0.0.0:3000`) diff --git a/db/structure.sql b/db/structure.sql index 2f04ebfc..eea62763 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -32,7 +32,7 @@ COMMENT ON EXTENSION pg_trgm IS 'text similarity measurement and index searching SET default_tablespace = ''; -SET default_table_access_method = heap; +-- SET default_table_access_method = heap; -- -- Name: about_users; Type: TABLE; Schema: public; Owner: - diff --git a/test/models/long_submission_test.rb b/test/models/long_submission_test.rb index 59386b1e..4cff531d 100644 --- a/test/models/long_submission_test.rb +++ b/test/models/long_submission_test.rb @@ -64,7 +64,7 @@ class LongSubmissionTest < ActiveSupport::TestCase end test 'text to score' do - assert_equal LongSubmission.text_to_score('-'), nil + assert_nil LongSubmission.text_to_score('-') assert_equal LongSubmission.text_to_score('100'), 100 end