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

update gems and rename misnamed "unit" option to "units" #3

Merged
merged 1 commit into from
Sep 30, 2015
Merged

update gems and rename misnamed "unit" option to "units" #3

merged 1 commit into from
Sep 30, 2015

Conversation

GAV1N
Copy link
Contributor

@GAV1N GAV1N commented Sep 30, 2015

@sush this addresses a bug that forces the default :metric units. The parameter that Google expects is units, not unit.

I also updated gems while I was at it, and all specs are passing.


VCR.turn_on!
end

it 'respects overridden options' do
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added this spec because I initially thought the overridden unit type wasn't being used. Even though it was being used just not being acknowledged by Google because of the incorrect param (unit instead of units), I kept the spec to provide an assertion that overridden options are indeed used.

@sush
Copy link
Owner

sush commented Sep 30, 2015

Nice catch 👍

sush added a commit that referenced this pull request Sep 30, 2015
update gems and rename misnamed "unit" option to "units"
@sush sush merged commit 1166a0a into sush:master Sep 30, 2015
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.

None yet

2 participants