* Change all login_as to sign_in * Unskip comment spec * Create new specs * Turn on Webdriver caching * Set logger for Omniauth in test * Update editor system spec * Fix editor approval file * Update video_controller * Update TagAdjustmentUpdateService's spec * Update users api spec * Update stories_index_spec * Remove redundant spec file * Remove residual code * Change ClassifiedListing spec * Update NotificationsIndex spec
7 lines
244 B
Ruby
7 lines
244 B
Ruby
require "rails_helper"
|
|
|
|
RSpec.describe HtmlVariantSuccess, type: :model do
|
|
it { is_expected.to validate_presence_of(:html_variant_id) }
|
|
it { is_expected.to belong_to(:html_variant) }
|
|
it { is_expected.to belong_to(:article).optional }
|
|
end
|