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

Fixing error when using more than one helper #296

Merged
merged 1 commit into from
Dec 19, 2013
Merged

Fixing error when using more than one helper #296

merged 1 commit into from
Dec 19, 2013

Conversation

jschneiderhan
Copy link
Contributor

When placing more than one helper in the test/integration/helpers
directory I was receiving the following error:

/tmp/busser/gems/gems/busser-0.6.0/lib/busser/command/deserialize.rb:46:in `Integer': invalid value for Integer(): "0664echo" (ArgumentError)
        from
/tmp/busser/gems/gems/busser-0.6.0/lib/busser/command/deserialize.rb:46:in `perform'
        from /tmp/busser/gems/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
        from
/tmp/busser/gems/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
        from
/tmp/busser/gems/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `block in invoke_all'
        from
/tmp/busser/gems/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `each'
        from
/tmp/busser/gems/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `map'
        from
/tmp/busser/gems/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `invoke_all'
        from /tmp/busser/gems/gems/thor-0.18.1/lib/thor/group.rb:233:in `dispatch'
        from
/tmp/busser/gems/gems/thor-0.18.1/lib/thor/invocation.rb:109:in `invoke'
        from /tmp/busser/gems/gems/thor-0.18.1/lib/thor.rb:43:in `block in register'
        from /tmp/busser/gems/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
        from
/tmp/busser/gems/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
        from /tmp/busser/gems/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
        from /tmp/busser/gems/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
        from /tmp/busser/gems/gems/busser-0.6.0/bin/busser:8:in `<top (required)>'
        from /tmp/busser/gems/bin/busser:23:in `load'
        from /tmp/busser/gems/bin/busser:23:in `<main>'

When I add the semicolon to helperfiles line I can use multiple helpers without an error.

I was only able to test again 1.0.0, but when I did it seemed to work.

When placing more than one helper in the test/integration/helpers
directory I was receiving the following error:

       /tmp/busser/gems/gems/busser-0.6.0/lib/busser/command/deserialize.rb:46:in
`Integer': invalid value for Integer(): "0664echo" (ArgumentError)
        from
/tmp/busser/gems/gems/busser-0.6.0/lib/busser/command/deserialize.rb:46:in
`perform'
        from /tmp/busser/gems/gems/thor-0.18.1/lib/thor/command.rb:27:in
`run'
        from
/tmp/busser/gems/gems/thor-0.18.1/lib/thor/invocation.rb:120:in
`invoke_command'
        from
/tmp/busser/gems/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `block
in invoke_all'
        from
/tmp/busser/gems/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `each'
        from
/tmp/busser/gems/gems/thor-0.18.1/lib/thor/invocation.rb:127:in `map'
        from
/tmp/busser/gems/gems/thor-0.18.1/lib/thor/invocation.rb:127:in
`invoke_all'
        from /tmp/busser/gems/gems/thor-0.18.1/lib/thor/group.rb:233:in
`dispatch'
        from
/tmp/busser/gems/gems/thor-0.18.1/lib/thor/invocation.rb:109:in `invoke'
        from /tmp/busser/gems/gems/thor-0.18.1/lib/thor.rb:43:in `block
in register'
        from /tmp/busser/gems/gems/thor-0.18.1/lib/thor/command.rb:27:in
`run'
        from
/tmp/busser/gems/gems/thor-0.18.1/lib/thor/invocation.rb:120:in
`invoke_command'
        from /tmp/busser/gems/gems/thor-0.18.1/lib/thor.rb:363:in
`dispatch'
        from /tmp/busser/gems/gems/thor-0.18.1/lib/thor/base.rb:439:in
`start'
        from /tmp/busser/gems/gems/busser-0.6.0/bin/busser:8:in `<top
(required)>'
        from /tmp/busser/gems/bin/busser:23:in `load'
        from /tmp/busser/gems/bin/busser:23:in `<main>'
@fnichol
Copy link
Contributor

fnichol commented Dec 19, 2013

This looks like some additional cleanup from 966c01c. Thank you!

fnichol added a commit that referenced this pull request Dec 19, 2013
Fixing error when using more than one helper
@fnichol fnichol merged commit cadd416 into test-kitchen:master Dec 19, 2013
BrentOnRails pushed a commit to BrentOnRails/test-kitchen that referenced this pull request Jul 17, 2017
…file-again

reinstate default shared creds option
@test-kitchen test-kitchen locked and limited conversation to collaborators Nov 16, 2017
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.

2 participants