Sha256: 871d3ae00b2664e7fbe557336a3cc96ad7bf21c12c74e99580d8011b9a500360

Contents?: true

Size: 352 Bytes

Versions: 2

Compression:

Stored size: 352 Bytes

Contents

require 'woodhouse'
require File.dirname(File.expand_path(__FILE__)) + '/shared_contexts'

describe Woodhouse::QueueCriteria do
  it_should_behave_like "common"
  
  it "should stringify keys and values" do
    criteria = Woodhouse::QueueCriteria.new("abc" => :def, :fed => 1)
    criteria.criteria.should == { "abc" => "def", "fed" => "1" }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
woodhouse-0.1.2 spec/queue_criteria_spec.rb
woodhouse-0.1.1 spec/queue_criteria_spec.rb