canvas-lms/spec
James Williams 773921f38d don't copy only_visible_to_overrides without copied overrides
ignore the attribute if we're only copying over a
non-masterypaths assignment with overrides

test plan:
* create an assignment and assign it to a section or student
* copy the assignment
* the new copy should default to being available to everyone

closes #CNVS-34176

Change-Id: Id7134d38b0ec32f0edbf7051a957d5bc2f9e8861
Reviewed-on: https://gerrit.instructure.com/99023
Reviewed-by: Dan Minkevitch <dan@instructure.com>
Tested-by: Jenkins
QA-Review: Heath Hales <hhales@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2017-01-12 13:38:55 +00:00
..
apis strong params part C 2017-01-10 23:36:46 +00:00
coffeescripts Replace avatar image cropper with keyboard accessible one 2017-01-10 18:47:01 +00:00
controllers spec: fix fragile assignment spec 2017-01-12 02:56:47 +00:00
factories ensure cyoe only references fully graded, non-muted assignments 2017-01-11 20:21:40 +00:00
fixtures Add course assignments menu LTI launch placement 2016-12-16 23:52:10 +00:00
gem_integration/canvas_connect spec: rename the `user` helper to `user_factory` 2016-12-27 20:25:25 +00:00
helpers add ability to enable turnitin to site admins 2017-01-06 20:23:39 +00:00
initializers spec: rename the `user` helper to `user_factory` 2016-12-27 20:25:25 +00:00
integration refactor LinkedIn::Connection 2017-01-10 22:41:32 +00:00
javascripts Add new enroll dialog 2017-01-11 23:40:15 +00:00
lib Restore deleted scores instead of trying to make duplicate ones 2017-01-11 20:24:22 +00:00
messages spec: rename the `user` helper to `user_factory` 2016-12-27 20:25:25 +00:00
middleware fix fragil request_context_generate spec 2016-10-11 18:45:17 +00:00
migrations spec: rename the `course` helper to `course_factory` 2016-12-27 20:25:29 +00:00
models don't copy only_visible_to_overrides without copied overrides 2017-01-12 13:38:55 +00:00
observers spec: rename the `course` helper to `course_factory` 2016-12-27 20:25:29 +00:00
presenters spec: rename the `course` helper to `course_factory` 2016-12-27 20:25:29 +00:00
selenium Add new enroll dialog 2017-01-11 23:40:15 +00:00
serializers spec: rename the `user` helper to `user_factory` 2016-12-27 20:25:25 +00:00
shared_examples prevent editing assignment overrides in closed periods 2016-11-04 14:27:47 +00:00
support spec: make specs resilient to pre-existing records, refs SD-1570 2016-11-15 20:13:19 +00:00
views Fix negative needs_grading_count 2017-01-11 20:55:41 +00:00
ams_spec_helper.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
broadcast_integration.rb spec: rename the `user` helper to `user_factory` 2016-12-27 20:25:25 +00:00
cassandra_spec_helper.rb don't log errors for unconfigured auditors 2016-03-31 17:11:36 +00:00
coverage_tool.rb spec: rename the `user` helper to `user_factory` 2016-12-27 20:25:25 +00:00
import_helper.rb imported link refactoring 2015-06-16 20:04:32 +00:00
jspec.sh Add "Requires Webpack" messaging to jspec 2016-12-13 19:51:01 +00:00
jspec_env.js add npm script that can run specific js specs 2016-11-30 18:37:23 +00:00
lti_spec_helper.rb spec: rename the `user` helper to `user_factory` 2016-12-27 20:25:25 +00:00
mocha_extensions.rb rails4: fix mocha instantiation 2015-07-01 17:23:09 +00:00
mocha_rspec_adapter.rb spec: rename the `user` helper to `user_factory` 2016-12-27 20:25:25 +00:00
nested_instafail_formatter.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
quiz_spec_helper.rb spec: rename the `user` helper to `user_factory` 2016-12-27 20:25:25 +00:00
rcov.opts
sharding_spec_helper.rb just assume switchman is present for specs 2016-09-20 22:36:34 +00:00
spec.opts
spec_helper.rb spec: remove bullet_instructure gem 2017-01-10 19:45:39 +00:00