Skip to content
This repository has been archived by the owner on Apr 26, 2019. It is now read-only.

Test Suite fails in Ruby 2 #3

Open
bryanwoods opened this issue Oct 18, 2013 · 0 comments
Open

Test Suite fails in Ruby 2 #3

bryanwoods opened this issue Oct 18, 2013 · 0 comments

Comments

@bryanwoods
Copy link
Contributor

$ ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin11.4.2]

$ rake spec

Failures:

  1. TimedRedSet.since returns an array of elements with timestamps if the with_scores option is true
    Failure/Error: {20 => Time.at(2.5), 30 => Time.at(3.5)}
    NoMethodError:
    undefined method `encoding' for 20:Fixnum

    ./spec/redness/timed_red_set_spec.rb:64:in`block (3 levels) in <top (required)>'

  2. TimedRedSet.since supports using the :upper/:lower and :with_scores attributes together
    Failure/Error: {20 => Time.at(2.5)}
    NoMethodError:
    undefined method `encoding' for 20:Fixnum

    ./spec/redness/timed_red_set_spec.rb:73:in`block (3 levels) in <top (required)>'

Finished in 1.16 seconds
77 examples, 2 failures

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

No branches or pull requests

1 participant