Skip to content

Add unit tests back to pipeline & improve VSCode integration #479

Add unit tests back to pipeline & improve VSCode integration

Add unit tests back to pipeline & improve VSCode integration #479

Triggered via pull request May 1, 2024 22:52
Status Failure
Total duration 3m 31s
Artifacts

tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Unit tests: spec/requests/media_spec.rb#L67
Media #search_by can search for all (released) media Failure/Error: becomes(Question).answers.delete_all FrozenError: can't modify frozen Hash: {"id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85ffff20 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85ffd1a8 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85ffd180 @name="created_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85ffd158 @name="updated_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85ffd130 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85ffd108 @name="description", @value_before_type_cast="9963 Brasserie", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85ffd0e0 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85ffd040 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85ffd018 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85ffcff0 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85ffcf00 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85ffce60 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85ffce38 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007f6c8501a588 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85ffce10 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=ni
Unit tests: spec/requests/media_spec.rb#L74
Media #search_by can search for media by title Failure/Error: becomes(Question).answers.delete_all FrozenError: can't modify frozen Hash: {"id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c849a5298 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c849ab698 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c849ab558 @name="created_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c849ab508 @name="updated_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c849ab4e0 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c849ab4b8 @name="description", @value_before_type_cast="9963 Brasserie", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c849ab490 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c849ab468 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c849ab418 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c849ab3f0 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c849ab3c8 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c849ab3a0 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c849ab378 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007f6c8501a588 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c849ab2b0 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "q
Unit tests: spec/requests/media_spec.rb#L84
Media #search_by can search for media by sort Failure/Error: becomes(Question).answers.delete_all FrozenError: can't modify frozen Hash: {"id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c8728fdc0 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c8729ed48 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c872a7380 @name="created_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c872a7330 @name="updated_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c872a6a98 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c872a6a48 @name="description", @value_before_type_cast="9963 Brasserie", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c872a69f8 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c872a69a8 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c872a6930 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c872a6728 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c872a5698 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c872a4950 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c872a4360 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007f6c8501a588 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c872a4270 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "qu
Unit tests: spec/requests/media_spec.rb#L95
Media #search_by can search for media by tag Failure/Error: becomes(Question).answers.delete_all FrozenError: can't modify frozen Hash: {"id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86f198d0 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86f1de80 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86f1de30 @name="created_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86f1db10 @name="updated_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86f1da98 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86f1da70 @name="description", @value_before_type_cast="9963 Brasserie", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86f1d9f8 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86f1d958 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86f1d908 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86f1d7c8 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86f1d778 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86f1d750 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86f1d700 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007f6c8501a588 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86f1d6d8 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "qui
Unit tests: spec/requests/media_spec.rb#L106
Media #search_by can do combined search with tagoperator "or" and description Failure/Error: becomes(Question).answers.delete_all FrozenError: can't modify frozen Hash: {"id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86de0e28 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86de4960 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86de4938 @name="created_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86de48c0 @name="updated_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86de4898 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86de4820 @name="description", @value_before_type_cast="9963 Brasserie", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86de47d0 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86de4730 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86de46b8 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86de4690 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86de4640 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86de45f0 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86de4578 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007f6c8501a588 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c86de44d8 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil
Unit tests: spec/requests/media_spec.rb#L118
Media #search_by can do search with tagoperator "and" and description Failure/Error: becomes(Question).answers.delete_all FrozenError: can't modify frozen Hash: {"id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c860d78f8 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c860da3a0 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c860da328 @name="created_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c860da0a8 @name="updated_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c860da080 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c860d9fb8 @name="description", @value_before_type_cast="9963 Brasserie", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c860d9f90 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c860d9f18 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c860d9ec8 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c860d9e78 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c860d9e50 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c860d9dd8 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c860d9d88 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007f6c8501a588 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c860d9d10 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @orig
Unit tests: spec/requests/media_spec.rb#L128
Media #search_by "all tags" has higher precedence than any tagoperator (here "and") Failure/Error: becomes(Question).answers.delete_all FrozenError: can't modify frozen Hash: {"id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85fb8300 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85fc2af8 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85fc2ad0 @name="created_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85fc2a80 @name="updated_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85fc2a30 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85fc29e0 @name="description", @value_before_type_cast="9963 Brasserie", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85fc2968 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85fc2918 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85fc28f0 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85fc28c8 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85fc28a0 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85fc2878 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85fc2850 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007f6c8501a588 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85fc2828 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @lim
Unit tests: spec/requests/media_spec.rb#L136
Media #search_by "all tags" has higher precedence than any tagoperator (here "or") Failure/Error: becomes(Question).answers.delete_all FrozenError: can't modify frozen Hash: {"id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85e6adb8 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85e683b0 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85e68388 @name="created_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85e68310 @name="updated_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85e682e8 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85e682c0 @name="description", @value_before_type_cast="9963 Brasserie", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85e68180 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85e68158 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85e68108 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85e680e0 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85e680b8 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85e68090 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85e6ff98 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007f6c8501a588 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85e6ff70 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limi
Unit tests: spec/requests/media_spec.rb#L144
Media #search_by can search by teacher Failure/Error: becomes(Question).answers.delete_all FrozenError: can't modify frozen Hash: {"id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85d4d458 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85d50388 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85d579f8 @name="created_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85d577a0 @name="updated_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85d57160 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85d560a8 @name="description", @value_before_type_cast="9963 Brasserie", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85d56058 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85d55fb8 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85d55f68 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85d55ea0 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85d55e28 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85d55e00 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85d55d10 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007f6c8501a588 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85d55cc0 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable
Unit tests: spec/requests/media_spec.rb#L154
Media #search_by can search for media of subscribed lectures Failure/Error: becomes(Question).answers.delete_all FrozenError: can't modify frozen Hash: {"id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85ab7450 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85abadf8 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85abada8 @name="created_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85abad58 @name="updated_at", @value_before_type_cast=2024-05-01 22:55:05.687434 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007f6c85008e78 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85abacb8 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85abac40 @name="description", @value_before_type_cast="9963 Brasserie", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85ababc8 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85abaad8 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007f6c8501acb8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85abaa10 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85aba9e8 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85aba998 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85aba790 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007f6c8501a808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85aba768 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007f6c8501a588 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007f6c85aba6a0 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007f6c850097d8 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attr
Unit tests: spec/models/talk_tag_join_spec.rb#L4
TalkTagJoin add some examples to (or delete) /usr/src/app/spec/models/talk_tag_join_spec.rb Skipped: Not yet implemented