-
Notifications
You must be signed in to change notification settings - Fork 82
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
Add tests for Google Drive API #81
base: master
Are you sure you want to change the base?
Conversation
@@ -15,3 +15,10 @@ | |||
require 'babelish' | |||
|
|||
require "babelish/commandline" | |||
|
|||
require 'webmock/test_unit' | |||
require 'vcr' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
|
||
SimpleCov.formatter = Coveralls::SimpleCov::Formatter | ||
SimpleCov.start do | ||
add_filter '/test/' | ||
add_filter "/test/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use 2 (not 3) spaces for indentation.
system("./bin/babelish csv2strings --fetch --filename my_strings --langs English:en") | ||
VCR.use_cassette("my_strings_fetch_google_doc") do | ||
assert_nothing_raised do | ||
system("./bin/babelish csv2strings --fetch --filename my_strings --langs English:en") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [93/80]
config.hook_into :webmock | ||
end | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra blank line detected.
Fixes #69