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

Add tests for Google Drive API #81

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

netbe
Copy link
Owner

@netbe netbe commented Nov 10, 2015

Fixes #69

@@ -15,3 +15,10 @@
require 'babelish'

require "babelish/commandline"

require 'webmock/test_unit'
require 'vcr'
Copy link
Collaborator

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/"
Copy link
Collaborator

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")
Copy link
Collaborator

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


Copy link
Collaborator

Choose a reason for hiding this comment

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

Extra blank line detected.

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