spec/ribose/connection_spec.rb in ribose-0.3.2 vs spec/ribose/connection_spec.rb in ribose-0.4.0

- old
+ new

@@ -21,6 +21,17 @@ expect(suggestions.first.id).not_to be_nil expect(suggestions.first.name).to eq("Jennie Doe") end end + + describe ".disconnect" do + it "disconnect with provided connection" do + connection_id = 123_456 + stub_ribose_connection_delete_api(connection_id) + + expect do + Ribose::Connection.disconnect(connection_id) + end.not_to raise_error + end + end end