Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Learning material file uploads now uploading and persisting through refresh #802

Merged
merged 13 commits into from
Aug 7, 2015

Conversation

thecoolestguy
Copy link
Member

fixes #431

@saschaben
Copy link
Member

looks great.

@thecoolestguy thecoolestguy force-pushed the 431_lm_file_uploader branch 2 times, most recently from fb6b8e8 to 4b0078f Compare August 5, 2015 00:25
@@ -298,6 +298,20 @@ export default function() {
return new Mirage.Response(400, {}, {errors: errors});
});

this.post('/upload', function(db, request) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is where your test are failing. Signature should be

this.post('/upload', function() {

Since request and db arguments are not used in the function.

jrjohnson added a commit that referenced this pull request Aug 7, 2015
Learning material file uploads now uploading and persisting through refresh
@jrjohnson jrjohnson merged commit 90102f2 into ilios:master Aug 7, 2015
@thecoolestguy thecoolestguy deleted the 431_lm_file_uploader branch September 13, 2016 02:25
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling ac6b85c on thecoolestguy:431_lm_file_uploader into ** on ilios:master**.

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.

Need Add File Dialog Box for Add Learning Materials Form
4 participants