Skip to content

Wrap update in test in a rollback transaction.#7933

Merged
ashercodeorg merged 3 commits into
stagingfrom
rollbackDbInTest
Apr 19, 2016
Merged

Wrap update in test in a rollback transaction.#7933
ashercodeorg merged 3 commits into
stagingfrom
rollbackDbInTest

Conversation

@ashercodeorg

Copy link
Copy Markdown
Contributor

Comment thread pegasus/test/fixtures/fake_dashboard.rb Outdated
id: 7, name: 'Temporary Teacher', user_type: 'teacher', admin: false
}
USERS = [
STUDENT, TEACHER, ADMIN, FACILITATOR, SELF_STUDENT, UPDATED_STUDENT,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this line is causing the CI test failure:

NameError: uninitialized constant FakeDashboard::UPDATED_STUDENT

@wjordan

wjordan commented Apr 19, 2016

Copy link
Copy Markdown
Contributor

Nice improvement. Once the CI test failure is fixed this looks good to me.

@ashercodeorg

Copy link
Copy Markdown
Contributor Author

The CI test failures seem to be a combination of silly mistakes (missed removing an undefined constant) and an inaccuracy in the syntax in the comment (now corrected).

@ashercodeorg ashercodeorg merged commit 5af3a74 into staging Apr 19, 2016
@ashercodeorg ashercodeorg deleted the rollbackDbInTest branch April 19, 2016 20:19
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.

2 participants