spec/sms_spec.rb in mblox-0.2.7 vs spec/sms_spec.rb in mblox-0.2.8
- old
+ new
@@ -145,9 +145,15 @@
it "can send all the legal characters" do
response = Mblox::Sms.new(TEST_NUMBER,Mblox::Sms::LEGAL_CHARACTERS).send
response.size.should eq(1)
response.first.ok?.should be_true
end
+
+ it "can send a backslash" do
+ response = Mblox::Sms.new(TEST_NUMBER,'\\').send
+ response.size.should eq(1)
+ response.first.ok?.should be_true
+ end
end
describe "batch_id" do
it "can be specified" do
batch_id = 12345