-
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revamp the
minitesting
bundled configuration so it uses Rack::Test
(
#954) * Revamp the minitesting bundled configuration so it uses Rack::Test and the Roda server * Use more appropriate log level setting * Remove hardcoded `roda_app.rb` file path, other serveer Zeitwerk optimizations Fixes #688 * Add support for Minitest expectations to Bridgetown tests - also add "intuitive" expectations like `expect(something) == "to equal this"` - remove RSpec Mocks library and replace with Minitest mocks and stubs * Move expectations so that Bridgetown::Test can access it too * Set ENV var so expectations aren't polluting Object * Include full Spec DSL in `Bridgetown::Test` transition some "shoulda" style tests to Minitest spec syntax * use extend rather than include * fix whitespace * Relocate server autoload code to a new module * Add information about spec-style tests, link to cheat sheet * remove spurious method
- Loading branch information
1 parent
8b54e1c
commit 289192f
Showing
38 changed files
with
619 additions
and
497 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.