History

Merge pull request #170 from TrangPham/master

Adding Official Url for url scrapped documentations

Thibaut Courouble committed 11 years ago

Commit 4b9256a2 parents 05e18b2 ab85da36 files · +57 −3Browse files

Showing the changes to test (1 of 6 files). Show all

Unified · Split

test/lib/docs/core/doc_test.rb+13−0
@@ -60,6 +60,19 @@ class DocsDocTest < MiniTest::Spec · 59 unmodified lines
60 end60 end
61 end61 end
62 62
63 describe ".home_url" do
64 it "returns nil" do
65 assert_nil doc.home_url
66 end
67 end
68
69 describe ".home_url=" do
70 it "stores .home_url" do
71 doc.home_url = 'http://www.url.com/doc'
72 assert_equal 'http://www.url.com/doc', doc.home_url
73 end
74 end
75
63 describe ".abstract" do76 describe ".abstract" do
64 it "returns nil" do77 it "returns nil" do
65 assert_nil doc.abstract78 assert_nil doc.abstract