mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
11 lines
270 B
Ruby
11 lines
270 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
|