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

Adopt spec to #248 #250

Merged

Conversation

hennevogel
Copy link
Collaborator

No description provided.

@hennevogel hennevogel force-pushed the bugfix/spec-query-quoting branch from 63ee836 to c2a24ed Compare February 6, 2021 17:12
@hennevogel
Copy link
Collaborator Author

@ChrisBr just some new quotes in the stubbed requests...

@@ -17,7 +17,7 @@
describe "#create_cluster_admin" do
let(:user) { 'adminadmin' }
let(:pass) { 'passpass' }
let(:query) { "CREATE USER #{user} WITH PASSWORD '#{pass}' WITH ALL PRIVILEGES" }
let(:query) { "CREATE USER \"#{user}\" WITH PASSWORD '#{pass}' WITH ALL PRIVILEGES" }
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is pass in single quotes and user in double quotes?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Because that's what we generate now. See #248

Copy link
Collaborator

@ChrisBr ChrisBr left a comment

Choose a reason for hiding this comment

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

[nitpick] Should we swap to single quotes so we don't need to escape the double quotes always?

@hennevogel
Copy link
Collaborator Author

[nitpick] Should we swap to single quotes so we don't need to escape the double quotes always?

Yeah let's unbreak master first though...

@hennevogel hennevogel merged commit 49d8f6e into InfluxCommunity:master Feb 6, 2021
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