add tests
This commit is contained in:
Vendored
+2
-2
@@ -3,11 +3,11 @@
|
||||
one:
|
||||
entry: one
|
||||
user: one
|
||||
changes_made:
|
||||
changes_made: "{}"
|
||||
change_type: MyString
|
||||
|
||||
two:
|
||||
entry: two
|
||||
user: two
|
||||
changes_made:
|
||||
changes_made: "{}"
|
||||
change_type: MyString
|
||||
|
||||
Vendored
+4
-8
@@ -2,26 +2,22 @@
|
||||
|
||||
one:
|
||||
entry: one
|
||||
language_code: MyString
|
||||
language_code: "en"
|
||||
alternative_translation: MyString
|
||||
context: MyText
|
||||
reasoning: MyText
|
||||
source: MyString
|
||||
region: MyString
|
||||
status: 1
|
||||
status: :pending
|
||||
submitted_by: one
|
||||
reviewed_by: one
|
||||
reviewed_at: 2026-01-22 13:38:22
|
||||
|
||||
two:
|
||||
entry: two
|
||||
language_code: MyString
|
||||
language_code: "fi"
|
||||
alternative_translation: MyString
|
||||
context: MyText
|
||||
reasoning: MyText
|
||||
source: MyString
|
||||
region: MyString
|
||||
status: 1
|
||||
status: :pending
|
||||
submitted_by: two
|
||||
reviewed_by: two
|
||||
reviewed_at: 2026-01-22 13:38:22
|
||||
|
||||
+9
-9
@@ -1,15 +1,15 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
code: MyString
|
||||
name: MyString
|
||||
native_name: MyString
|
||||
code: "en"
|
||||
name: "English"
|
||||
native_name: "English"
|
||||
sort_order: 1
|
||||
active: false
|
||||
active: true
|
||||
|
||||
two:
|
||||
code: MyString
|
||||
name: MyString
|
||||
native_name: MyString
|
||||
sort_order: 1
|
||||
active: false
|
||||
code: "fi"
|
||||
name: "Finnish"
|
||||
native_name: "Suomi"
|
||||
sort_order: 2
|
||||
active: true
|
||||
|
||||
Vendored
+10
-10
@@ -1,23 +1,23 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
email: MyString
|
||||
password_digest: MyString
|
||||
name: MyString
|
||||
email: "one@example.com"
|
||||
password_digest: <%= BCrypt::Password.create('password') %>
|
||||
name: "User One"
|
||||
role: 1
|
||||
primary_language: MyString
|
||||
invitation_token: MyString
|
||||
primary_language: "en"
|
||||
invitation_token: "one"
|
||||
invitation_sent_at: 2026-01-22 13:38:37
|
||||
invitation_accepted_at: 2026-01-22 13:38:37
|
||||
invited_by: one
|
||||
|
||||
two:
|
||||
email: MyString
|
||||
password_digest: MyString
|
||||
name: MyString
|
||||
email: "two@example.com"
|
||||
password_digest: <%= BCrypt::Password.create('password') %>
|
||||
name: "User Two"
|
||||
role: 1
|
||||
primary_language: MyString
|
||||
invitation_token: MyString
|
||||
primary_language: "fi"
|
||||
invitation_token: "two"
|
||||
invitation_sent_at: 2026-01-22 13:38:37
|
||||
invitation_accepted_at: 2026-01-22 13:38:37
|
||||
invited_by: two
|
||||
|
||||
Reference in New Issue
Block a user