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

2 tests fail with Ruby 2.0 #11

Closed
callenb opened this issue Aug 3, 2013 · 1 comment
Closed

2 tests fail with Ruby 2.0 #11

callenb opened this issue Aug 3, 2013 · 1 comment
Assignees
Labels

Comments

@callenb
Copy link
Owner

callenb commented Aug 3, 2013

When running tests under Ruby 2.0, I get two errors. Since I'm off on holiday for a couple of weeks I won't be addressing these just yet.

[13/64] TestDay#test_subtract_minutes_in_a_patterned_day = 0.01 s

  1. Error:
    test_subtract_minutes_in_a_patterned_day(TestDay):
    TypeError: Rational can't be coerced into Rational for bitwise arithmetic
    /home/barrie/dev/wp/lib/workpattern/hour.rb:64:in `&'

AND

[45/64] TestWorkpattern#test_calculate_across_week_patterns = 0.04 s
2) Error:
test_calculate_across_week_patterns(TestWorkpattern):
TypeError: Rational can't be coerced into Rational for bitwise arithmetic
/home/barrie/dev/wp/lib/workpattern/hour.rb:64:in `&'

@callenb
Copy link
Owner Author

callenb commented Aug 21, 2013

After a lovely holiday in Turkey this bug has been fixed and will be released in the next release

@callenb callenb closed this as completed Aug 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant