Skip to content

Fix CircleCI specs errors#32

Merged
ChristianRimondi merged 3 commits intomasterfrom
fix-circleci-specs
Nov 15, 2019
Merged

Fix CircleCI specs errors#32
ChristianRimondi merged 3 commits intomasterfrom
fix-circleci-specs

Conversation

@ChristianRimondi
Copy link
Copy Markdown
Contributor

No description provided.

@ChristianRimondi ChristianRimondi self-assigned this Nov 15, 2019
This PR[1] on the solidusio/circleci-orbs-extensions has changed the
circleci environment variable we used in the Gemfile to load the correct
database gem.

[1]: https://github.com/solidusio/circleci-orbs-extensions/pull/17/files#diff-8b920f97de502b46d6f53a9fd0a9bd05R4-L7
We don't care about the order of the returning result, only its contents.
Not passing this option causes a `Mysql2::Error: SAVEPOINT
active_record_1 does not exist` exception when using MySQL with the
specs.
Based on this pr[1], the correct way to use `with_model` together with
DatabaseCleaner and MySQL, is to not use the default `each` scope.

[1]: Casecommons/with_model#18
@ChristianRimondi ChristianRimondi changed the title Change postgres to postgresql Fix CircleCI specs errors Nov 15, 2019
@ChristianRimondi ChristianRimondi marked this pull request as ready for review November 15, 2019 13:21
@ChristianRimondi ChristianRimondi merged commit 9ed5ca4 into master Nov 15, 2019
@ChristianRimondi ChristianRimondi deleted the fix-circleci-specs branch November 15, 2019 13:25
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