Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git-scm.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2022-10-05tests: mark unused assignments with underscoreJeff King
These are all test scripts that store the results of setup in variables. Even though they're not used, having them helps make clear what data the test has available to it, and follows existing patterns.
2022-10-05run rubocop --autocorrect --only Lint/ParenthesesAsGroupedExpressionJeff King
2022-10-05run rubocop --autocorrect --only Layout/CommentIndentationJeff King
2022-10-05run rubocop --autocorrect --only Layout/IndentationWidthJeff King
2022-10-05run rubocop --autocorrect --only Style/ClassAndModuleChildrenJeff King
Seems reasonable.
2022-10-05run rubocop --autocorrect --only Style/ExpandPathArgumentsJeff King
These all seem like reasonable suggestions.
2022-10-05accept "rubocop -x" auto-correctionsJeff King
These are mostly small style fixups, mostly around whitespace. Most of them look like obvious improvements. A few I could go either way on, but shutting up rubocop is probably a worthwhile goal.
2022-10-05site_helper.rb: clean up unused methodsJeff King
This saves us dealing with rubocop issues in them.
2020-12-13prefer tag to content_tagJeff King
This appeases rubocop Rails/ContentTag.
2020-12-13application: drop random_tagline helperJeff King
This stopped getting called in 2e8fa7e2 (Improve caching for pages and assets, 2017-02-03), when the functionality was moved to the client side.
2020-12-13test: drop doc perf testJeff King
I can't get this to run on modern ruby/rails. The error looks like this: .../gems/minitest-5.14.2/lib/minitest.rb:1030:in `run_one_method': BrowsingDocTest#run _must_ return a Result (RuntimeError) Looks like an incompatibility between minitest and rails-perftest, according to: https://github.com/rails/rails-perftest/issues/43 There's even a patch which was merged: https://github.com/rails/rails-perftest/pull/44 but it looks like never released. I'm not sure I care enough about this test to wrestle with it further. Comparing perf between versions might be interesting, but fundamentally we can't _fail_ this in the automated testing without some kind of baseline. So I don't think it brings much value to the regression tests.
2020-12-13test/performance: set perf outputsJeff King
Without this, I get errors like: .../gems/ruby-prof-1.4.2/lib/ruby-prof/printers/call_tree_printer.rb:54:in `print': wrong number of arguments (given 2, expected 0..1) (ArgumentError) It looks like an incompatibility between rails-perftest and ruby-prof. This workaround comes from: https://github.com/rails/rails-perftest/issues/38
2020-12-13test: do some shoulda-matcher setupJeff King
Without this, I get problems with utility methods like have_many being undefined. I'm not sure if there's a better way to solve this, but this solution came from: https://teamtreehouse.com/community/solved-undefined-method-havemany-for-childtestclass-problem-with-shouldamatchers-313
2020-12-13test: pass params to "get" using :paramsJeff King
In newer versions you can no longer pass arbitrary keys like: get :whatever, foo: bar, baz: bleep and instead need to group the latter two in a hash under params.
2020-12-13test/factories: don't use static attributesJeff King
Newer version of FactoryBot complain about this, and suggest a small code block.
2020-12-13test: s/FactoryGirl/FactoryBot/Jeff King
The gem has been renamed, so we need to update to match modern versions. I also seemed to need factory_bot_rails in the gemfile to avoid some errors.
2018-10-29Update code using rubocop's autocorrect linterMark Tareshawty
2018-02-08drop blog contentJeff King
There hasn't been a blog post in 7 years, and there are no plans to revive it. The existing posts generally fall into one of two categories: - news about the pro git book - technical notes that weren't covered in the 1st edition of pro git The former are no longer interesting at all. And the latter had their content folded into the second edition. So let's drop this content, as we sometimes get issues raised about its accuracy and formatting. We want to redirect people to the actually-maintained book content. We'll put a short note in the /blog route to help anybody who follows old links to these posts.
2018-02-08drop "related items" codeJeff King
We haven't been populating the database with this for some time (and any residual records have been gone for almost a year due to the database transition). And nobody seems to have noticed. Let's just give up on the feature in the name of simplicity.
2016-10-11Update git-scm links to HTTPS.Pierre-Etienne Poirot
2015-01-18https change for use.typekit.com and chart.apis.google.comJulian Ladisch
2014-07-29Add performance test for doc#man and refactor version_changes for performancebry4n
2014-01-22Handle old book site's url pathbry4n
2013-08-08Add RSS feed for blogMax Edmands
2013-04-10Blog entries are visible again.Also making some small changes to blog structure.Diogo André
We can keep adding blog posts by just adding .markdown or .html files to the app/view/blog/posts directory (it was blog/progit before).
2012-09-21refactor blog controller & add blog presenterbry4n
2012-07-31partially clean up the routes for downloads and blog pagebry4n
2012-07-24move some codes to books controllerbry4n
2012-07-11Fix failing search testsbry4n
2012-06-28refactor helpersbry4n
2012-06-27seems like shoudla gem breaks the ci buildbry4n
2012-06-27Add basic unit testsbry4n
2012-06-26Add new functional testsbry4n
2012-06-26Add more functional testsbry4n
2012-06-26Add more functional tests for DocsController.bry4n
2012-06-09Fix #141: fix doc_controller testsMindaugas Mozūras
Remove one test for a doc_controller action that doesn't exist. Fix the other tests by fixing setups and assert.
2012-06-07adding minimal cibuild script from jbarnetteJason Long
Trying to get auto-deploy working. Had to comment out broken tests for now.
2012-05-12Prepend 'git-' to man pagesSebastian Staudt
This allows for shorter URLs like /docs/commit that will redirect to the correct ones.
2012-05-02add version order field for quick version sortingScott Chacon
2012-05-02Make tests passNick Hengeveld
2012-05-02App updates for finding/displaying the right docNick Hengeveld
* model updates to find the current/specified version of a man page * controller updates to load up the right doc * view updates to display the pregenerated HTML * tests
2012-03-08started docs stuffScott Chacon
2012-03-08initial crappy placeholder index mockupScott Chacon
2012-03-08add basic doc db structure and task to fill them from diskScott Chacon
2012-03-06rails genScott Chacon