Sha256: c1ceb1f265cd3bb3ef2d0cd29028d9d9234af1c26930bff48e8379e1f8eb306d
Contents?: true
Size: 526 Bytes
Versions: 9
Compression:
Stored size: 526 Bytes
Contents
# encoding: UTF-8 require 'spec_helper' describe Mysql2::Error do before(:each) do @error = Mysql2::Error.new "testing" end it "should respond to #error_number" do @error.should respond_to(:error_number) end it "should respond to #sql_state" do @error.should respond_to(:sql_state) end # Mysql gem compatibility it "should alias #error_number to #errno" do @error.should respond_to(:errno) end it "should alias #message to #error" do @error.should respond_to(:error) end end
Version data entries
9 entries across 9 versions & 3 rubygems