Sha256: eab7710bdbd534bf29a1bfc76921d3b86c328fb574483ea886763ce805103c73

Contents?: true

Size: 321 Bytes

Versions: 5

Compression:

Stored size: 321 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
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mysql2-0.2.3 spec/mysql2/error_spec.rb
mysql2-0.2.2 spec/mysql2/error_spec.rb
mysql2-0.2.1 spec/mysql2/error_spec.rb
mysql2-0.2.0 spec/mysql2/error_spec.rb
mysql2-0.1.9 spec/mysql2/error_spec.rb