spec/zenvia/sms_spec.rb in zenvia-0.0.3 vs spec/zenvia/sms_spec.rb in zenvia-0.0.4
- old
+ new
@@ -30,10 +30,10 @@
end
context "when there is the callbackOption" do
it "should send callbackOption" do
request_mock.should_receive(:post).with({
- to: :number, message: :message, dispatch: :send, callbackOption: 2
+ to: :number, message: :message, dispatch: :send, callback_option: 2
})
subject.callback_option = 2
subject.send
end