mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Cache oneboxes in Redis now instead of postgres.
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
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
|
||||
@@ -1,8 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe PostOneboxRender do
|
||||
|
||||
it { should belong_to :onebox_render }
|
||||
it { should belong_to :post }
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user