spec/cellular/backends/log_spec.rb in cellular-2.1.0 vs spec/cellular/backends/log_spec.rb in cellular-2.2.0
- old
+ new
@@ -1,23 +1,22 @@
require 'spec_helper'
describe Cellular::Backends::Log do
-
let(:recipient) { '47xxxxxxxx' }
let(:sender) { 'Custom sender' }
let(:message) { 'This is an SMS message' }
let(:price) { 100 }
- let(:country) { 'NO '}
+ let(:country) { 'NO ' }
- let(:options) {
+ let(:options) do
{
recipient: recipient,
sender: sender,
message: message,
price: price
}
- }
+ end
before do
Cellular.config.username = 'username'
Cellular.config.password = 'password'
Cellular.config.delivery_url = nil
@@ -37,7 +36,6 @@
expect do
described_class.receive ''
end.to raise_error NotImplementedError
end
end
-
end