Skip to content

Conversation

@cahrens
Copy link

@cahrens cahrens commented Sep 17, 2013

@singingwolfboy A couple of minor things I noticed while using the textbooks as an example for assets.

  1. The _.result syntax isn't working. I'm not sure why, but the asserts always pass, no matter what you are testing for. Calling the methods directly seems simpler anyway.

  2. Related to Put back in the blocks for Advanced Settings. #1, the URL key was wrong for CMS.Collections.TextbookSet.

  3. Calling destroy on a model removes it from the collection automatically.

@singingwolfboy
Copy link
Contributor

Huh; I don't know what the issue is with _.result, but you're right, the test was using the wrong variable and it wasn't failing. Weird. As for the destroy thing -- I'm all in favor of less code. :)

👍

cahrens pushed a commit that referenced this pull request Sep 17, 2013
@cahrens cahrens merged commit 042aaf9 into master Sep 17, 2013
@cahrens cahrens deleted the christina/textbook-cleanup branch September 17, 2013 18:53
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Aug 9, 2016
…ix-requirement-version

Fix requirements version openedx#854
afzaledx pushed a commit to open-craft/openedx-platform that referenced this pull request Jun 1, 2018
…ision

[MCKIN-6965] Newly Added Drag and Drop blocks not loading in Studio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants