Sha256: b0f6af8e072b72b02457946314d74f3200c6e14cd701cb84e196b9ccf98b8c30
Contents?: true
Size: 370 Bytes
Versions: 3
Compression:
Stored size: 370 Bytes
Contents
# encoding: UTF-8 require File.expand_path(File.dirname(__FILE__) + '/../spec_helper.rb') 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mysql2-0.1.8 | spec/mysql2/error_spec.rb |
mysql2-0.1.7 | spec/mysql2/error_spec.rb |
mysql2-0.1.6 | spec/mysql2/error_spec.rb |