spec/unit/message_spec.rb in fake_sqs-0.3.1 vs spec/unit/message_spec.rb in fake_sqs-0.4.0
- old
+ new
@@ -27,9 +27,18 @@
expect(message.id.size).to eq 36
end
end
+ describe "#delay_seconds" do
+
+ it "is generated" do
+ message = create_message({"DelaySeconds" => 10})
+ expect(message.delay_seconds).to eq 10
+ end
+
+ end
+
describe 'visibility_timeout' do
let :message do
create_message
end