Skip to content

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

Add unit tests back to pipeline & improve VSCode integration

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

Triggered via pull request May 1, 2024 22:36
Status Failure
Total duration 6m 11s
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:0x00007fdbc09ce7a0 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09d2850 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09d2788 @name="created_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09d2760 @name="updated_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09d26c0 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09d25f8 @name="description", @value_before_type_cast="LGP Curry", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09d24e0 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09d2328 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09d22b0 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09d2238 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09d2210 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09d21e8 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09d21c0 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007fdbbba4e5b8 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09d2198 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "
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:0x00007fdbc1a17440 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1a15320 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1a152a8 @name="created_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1a15258 @name="updated_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1a15230 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1a151e0 @name="description", @value_before_type_cast="LGP Curry", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1a15168 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1a15140 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1a15118 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1a150c8 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1a15078 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1a15050 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1a15028 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007fdbbba4e5b8 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1a15000 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizza
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:0x00007fdbc191f088 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc191d328 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc191d300 @name="created_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc191d2b0 @name="updated_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc191d260 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc191d238 @name="description", @value_before_type_cast="LGP Curry", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc191d210 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc191d1e8 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc191d1c0 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc191d170 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc191d148 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc191d120 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc191d0f8 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007fdbbba4e5b8 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc191d0d0 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzab
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:0x00007fdbc182b730 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1829958 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1829908 @name="created_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc18298e0 @name="updated_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc18298b8 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1829890 @name="description", @value_before_type_cast="LGP Curry", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1829868 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1829840 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc18297f0 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc18297c8 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc18297a0 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1829750 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1829688 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007fdbbba4e5b8 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc1829610 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzabl
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:0x00007fdbc0b48fe0 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0b4e580 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0b4e530 @name="created_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0b4e4e0 @name="updated_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0b4e490 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0b4e210 @name="description", @value_before_type_cast="LGP Curry", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0b4e198 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0b4e148 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0b4e120 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0b4e0f8 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0b4e0d0 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0b4dfe0 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0b4dfb8 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007fdbbba4e5b8 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0b4df68 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @o
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:0x00007fdbc0a82548 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0a80220 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0a80180 @name="created_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0a80130 @name="updated_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0a800b8 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0a80090 @name="description", @value_before_type_cast="LGP Curry", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0a87f70 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0a87f20 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0a87ed0 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0a87ea8 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0a87e80 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0a87e58 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0a87de0 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007fdbbba4e5b8 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0a87db8 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_
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:0x00007fdbc095ccb8 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09616c8 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09616a0 @name="created_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0961678 @name="updated_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0961650 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0961628 @name="description", @value_before_type_cast="LGP Curry", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0961470 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0961448 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0961420 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09613d0 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0961380 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0961358 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09611c8 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007fdbbba4e5b8 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc09611a0 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=ni
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:0x00007fdbc0856f08 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc085be68 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc085be40 @name="created_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc085bdf0 @name="updated_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc085bdc8 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc085bd78 @name="description", @value_before_type_cast="LGP Curry", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc085ba30 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc085ba08 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc085b9e0 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc085b990 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc085b968 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc085b940 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc085b8f0 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007fdbbba4e5b8 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc085b8c8 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil
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:0x00007fdbc072f940 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc07312e0 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0731088 @name="created_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0730f20 @name="updated_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0730cf0 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0730cc8 @name="description", @value_before_type_cast="LGP Curry", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0730ca0 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0730c50 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0730c00 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0730bd8 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0730890 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0730840 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc07307c8 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007fdbbba4e5b8 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0730778 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_id"=
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:0x00007fdbc0439600 @name="id", @value_before_type_cast=40, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=40>, "external_reference_link"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0441490 @name="external_reference_link", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "created_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc04410f8 @name="created_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "updated_at"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc04410a8 @name="updated_at", @value_before_type_cast=2024-05-01 22:42:30.078445 UTC, @type=#<ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp:0x00007fdbbba3cea8 @precision=nil, @scale=nil, @limit=nil, @Timezone=nil>, @original_attribute=nil>, "sort"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0441058 @name="sort", @value_before_type_cast="Question", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "description"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0440ef0 @name="description", @value_before_type_cast="LGP Curry", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "teachable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0440e28 @name="teachable_type", @value_before_type_cast="Lecture", @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil, @value="Lecture">, "teachable_id"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0440db0 @name="teachable_id", @value_before_type_cast=42, @type=#<ActiveModel::Type::Integer:0x00007fdbbba4ece8 @precision=nil, @scale=nil, @limit=8, @range=-9223372036854775808...9223372036854775808>, @original_attribute=nil, @value=42>, "video_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0440cc0 @name="video_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "screenshot_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0440798 @name="screenshot_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "manuscript_data"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0440770 @name="manuscript_data", @value_before_type_cast=nil, @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "released"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc0440608 @name="released", @value_before_type_cast="all", @type=#<ActiveRecord::Type::Text:0x00007fdbbba4e838 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "imported_manuscript"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc04403d8 @name="imported_manuscript", @value_before_type_cast=nil, @type=#<ActiveModel::Type::Boolean:0x00007fdbbba4e5b8 @precision=nil, @scale=nil, @limit=nil>, @original_attribute=nil>, "quizzable_type"=>#<ActiveModel::Attribute::FromDatabase:0x00007fdbc04400e0 @name="quizzable_type", @value_before_type_cast=nil, @type=#<ActiveModel::Type::String:0x00007fdbbba3d808 @true="t", @false="f", @precision=nil, @scale=nil, @limit=nil>, @original_attribute
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