test/integration/docs_controller_test.rb in opro-0.4.0 vs test/integration/docs_controller_test.rb in opro-0.4.1
- old
+ new
@@ -12,8 +12,9 @@
Dir[DOCS_PATH].each do |file|
doc = file.split('/').last.gsub('.md.erb', '')
doc_path = oauth_doc_path(:id => doc)
visit doc_path
assert_equal doc_path, current_path
+ refute has_content?("The page you were looking for doesn't exist")
end
end
end