Skip to content

(#11873) time function spec failure on Fixnum matcher#28

Merged
slippycheeze merged 1 commit intopuppetlabs:2.2.xfrom
kbarber:ticket/2.2.x/11873-time_spec_failure
Jan 10, 2012
Merged

(#11873) time function spec failure on Fixnum matcher#28
slippycheeze merged 1 commit intopuppetlabs:2.2.xfrom
kbarber:ticket/2.2.x/11873-time_spec_failure

Conversation

@kbarber
Copy link
Copy Markdown
Contributor

@kbarber kbarber commented Jan 10, 2012

The rspec code for the time function was trying to match the type to be a
'Fixnum'. Ruby will sometimes make this a 'Bignum' depending on its internals
and we can't rely on this to be true all the time.

This patch just makes sure the type is an integer instead.

The rspec code for the time function was trying to match the type to be a
'Fixnum'. Ruby will sometimes make this a 'Bignum' depending on its internals
and we can't rely on this to be true all the time.

This patch just makes sure the type is an integer instead.
slippycheeze added a commit that referenced this pull request Jan 10, 2012
(#11873) time function spec failure on Fixnum matcher
@slippycheeze slippycheeze merged commit b082094 into puppetlabs:2.2.x Jan 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants