Sha256: e51280d3d83dac57e67481710a48f5a5b21ea129b21c2658486d6ec65e5f25bb

Contents?: true

Size: 522 Bytes

Versions: 6

Compression:

Stored size: 522 Bytes

Contents

require 'spec_helper'
require 'queue_helper'
require 'legion/extensions/<%= config[:lex] %>/transport/queues/<%= config[:name] %>'

RSpec.describe Legion::Extensions::<%= config[:lex].split('_').collect(&:capitalize).join %>::Transport::Queues::<%= config[:name].capitalize %> do
  it { should be_a Legion::Transport::Queue }
  it { should respond_to :queue_name }
  it { should respond_to(:acknowledge).with(1).argument }
  it { should respond_to(:reject).with(1).argument }
  it { should respond_to :queue_options }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
legionio-1.2.1 lib/legion/cli/lex/templates/queue_spec.erb
legionio-1.2.0 lib/legion/cli/lex/templates/queue_spec.erb
legionio-0.4.3 lib/legion/cli/lex/templates/queue_spec.erb
legionio-0.4.2 lib/legion/cli/lex/templates/queue_spec.erb
legionio-0.4.1 lib/legion/cli/lex/templates/queue_spec.erb
legionio-0.4.0 lib/legion/cli/lex/templates/queue_spec.erb