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

Test Suite fails in Ruby 2 #3

@bryanwoods

Description

@bryanwoods

$ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions