Showing the changes to test (1 of 7 files). Show all
Unified · Split
| @@ -116,7 +116,7 @@ class DocsDocTest < MiniTest::Spec · 115 unmodified lines | ||
| 116 | 116 | end |
| 117 | 117 | |
| 118 | 118 | 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 | 120 | eval "stub(doc).#{attribute} { attribute }" |
| 121 | 121 | assert_equal attribute, doc.as_json[attribute.to_sym] |
| 122 | 122 | end |