test/components/queue_test.rb in propono-1.7.0 vs test/components/queue_test.rb in propono-2.0.0.rc1

- old
+ new

@@ -1,16 +1,19 @@ require File.expand_path('../../test_helper', __FILE__) module Propono class QueueTest < Minitest::Test - def test_intialization_sets_url + def test_url url = 'foobar' - queue = Queue.new(url) + queue = Queue.new(url, nil) assert url, queue.url end def test_arn - skip + arn = 'foobar' + attributes = {"QueueArn" => arn} + queue = Queue.new(nil, attributes) + assert arn, queue.arn end end end