History

Move doc links to manifest

Thibaut committed 11 years ago

Commit b29d6ca1 parent 34e804d7 files · +50 −36Browse files

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

Unified · Split

test/lib/docs/core/doc_test.rb+1−1
@@ -116,7 +116,7 @@ class DocsDocTest < MiniTest::Spec · 115 unmodified lines
116 end116 end
117 117
118 it "includes the doc's name, slug, type, version, index_path and db_path" do118 it "includes the doc's name, slug, type, version, index_path and db_path" do
119 %w(name slug type version index_path db_path).each do |attribute|119 %w(name slug type version index_path db_path links).each do |attribute|
120 eval "stub(doc).#{attribute} { attribute }"120 eval "stub(doc).#{attribute} { attribute }"
121 assert_equal attribute, doc.as_json[attribute.to_sym]121 assert_equal attribute, doc.as_json[attribute.to_sym]
122 end122 end

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t