mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
BUGFIX: emoji's url were relatives (was breaking the wordpress plugin)
This commit is contained in:
@@ -25,6 +25,13 @@ describe UrlHelper do
|
||||
helper.is_local("/assets/javascripts/all.js").should be_true
|
||||
end
|
||||
|
||||
it "is true for plugin assets" do
|
||||
store = stub
|
||||
store.expects(:has_been_uploaded?).returns(false)
|
||||
Discourse.stubs(:store).returns(store)
|
||||
helper.is_local("/plugins/all.js").should be_true
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
describe "#absolute" do
|
||||
|
||||
Reference in New Issue
Block a user