Sha256: 5188c71a5c7e2faf84722c6ea0fb07cc35799e7379db63f2d5271b3377acfd5d

Contents?: true

Size: 608 Bytes

Versions: 6

Compression:

Stored size: 608 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '../../spec_helper')

describe Cloudist::Utils do
  it "should return reply queue name" do
    Cloudist::Utils.reply_prefix('eat.sandwich').should == 'temp.reply.eat.sandwich'
  end
  
  it "should return log queue name" do
    Cloudist::Utils.log_prefix('eat.sandwich').should == 'temp.log.eat.sandwich'
  end
  
  it "should return stats queue name" do
    Cloudist::Utils.stats_prefix('eat.sandwich').should == 'temp.stats.eat.sandwich'
  end
  
  # it "should generate queue name" do
  #   Cloudist::Utils.generate_queue('test').should == ''
  # end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cloudist-0.4.4 spec/cloudist/utils_spec.rb
cloudist-0.4.3 spec/cloudist/utils_spec.rb
cloudist-0.4.2 spec/cloudist/utils_spec.rb
cloudist-0.4.1 spec/cloudist/utils_spec.rb
cloudist-0.2.1 spec/cloudist/utils_spec.rb
cloudist-0.2.0 spec/cloudist/utils_spec.rb