fb3966a62d
Find/fix/prevent weird stuff we are doing (or not doing) with `expect`. Chapter I: "I have been bent and broken, but - I hope - into a better shape." Disallow `expect`s in a `before`. `before` is by definition before the test, so it's not the place to be asserting anything. You can of course still set up mocks there. Chapter II: "Take nothing on its looks; take everything on evidence. There's no better rule." Ensure every `expect` actually runs. i.e. it needs `to` or `not_to` in order to actually do anything. Chapter III: "Ask no questions, and you'll be told no lies." In selenium land, ensure every spec has at least one expecation. In regular rspec land we just warn to stderr, but we may get more strict in the future. Test Plan: Specs Change-Id: I5fc353ee8171e5191853d45f42ae42478f9220b4 Reviewed-on: https://gerrit.instructure.com/101224 Tested-by: Jenkins Reviewed-by: Rob Orton <rob@instructure.com> Reviewed-by: Landon Wilkins <lwilkins@instructure.com> Product-Review: Jon Jensen <jon@instructure.com> QA-Review: Jon Jensen <jon@instructure.com> |
||
---|---|---|
Gemfile.d | ||
app | ||
bin | ||
build | ||
client_apps | ||
config | ||
db/migrate | ||
doc | ||
docker-compose | ||
frontend_build | ||
gems | ||
guard | ||
lib | ||
public | ||
script | ||
spec | ||
.babelrc | ||
.bowerrc | ||
.codeclimate.yml | ||
.dockerignore | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.common.js | ||
.eslintrc.js | ||
.gitignore | ||
.i18nignore | ||
.i18nrc | ||
.jshintrc | ||
.npmrc | ||
.nvmrc | ||
.rubocop.yml | ||
.selinimumignore | ||
.stylelintrc | ||
.travis.yml | ||
CONTRIBUTING.md | ||
COPYRIGHT | ||
Dockerfile | ||
Gemfile | ||
Guardfile | ||
LICENSE | ||
README.md | ||
Rakefile | ||
bower.json | ||
code_of_conduct.md | ||
config.ru | ||
docker-compose.override.yml | ||
docker-compose.yml | ||
gulpfile.js | ||
issue_template.md | ||
karma.conf.js | ||
package.json | ||
webpack.config.js | ||
webpack.production.config.js | ||
webpack.test.config.js |
README.md
Canvas LMS
Canvas is a modern, open-source LMS developed and maintained by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.
Please see our main wiki page for more information
Installation
Detailed instructions for installation and configuration of Canvas are provided on our wiki.