mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 15:53:43 +08:00
12 lines
274 B
Ruby
12 lines
274 B
Ruby
require 'spec_helper'
|
|
|
|
describe OneboxRender do
|
|
|
|
it { should validate_presence_of :url }
|
|
it { should validate_presence_of :cooked }
|
|
it { should validate_presence_of :expires_at }
|
|
it { should have_many :post_onebox_renders }
|
|
it { should have_many :posts }
|
|
|
|
end
|