Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

"comparison of String with 1 failed (ArgumentError)" when running 'heroku dynos x' #32

Closed
wants to merge 1 commit into from

Conversation

rymai
Copy link

@rymai rymai commented Oct 11, 2010

I fixed that error that was occurring only when actually using the command line because in the specs Heroku::Client#set_dynos was stubbed to return a Fixnum when the real implementation is returning a String.

The problem was that in the specs :set_dynos was stubed to return 7 (Fixnum), but in the real implementation it returns "7" (String). So I fixed the specs to return "7", and I also added specs for workers and the 3 different cases for the pluralization of "dynos" and "workers" in the outputted sentence.
Also added a spec for Heroku::Client#set_workers.
@rymai
Copy link
Author

rymai commented Oct 18, 2010

Any interest in that ? Are we the only one getting this error ?

@rymai
Copy link
Author

rymai commented Nov 4, 2010

Still no interest in a fix and new specs?
Why such a silence since the last commit (and gem new version) is 9 hours ago?

@ddollar
Copy link
Contributor

ddollar commented Nov 16, 2010

Sorry, I missed this request because notifications weren't set up properly. This should be fixed.

This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants