File: glibc_spec.rb

package info (click to toggle)
ruby-pg 1.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,316 kB
  • sloc: ansic: 9,403; ruby: 3,160; makefile: 10
file content (5 lines) | stat: -rw-r--r-- 194 bytes parent folder | download
1
2
3
4
5
RSpec.describe "require 'pg'" do
  it "gives a descriptive error message when GLIBC is too old" do
    expect { require "pg" }.to raise_error(/GLIBC.*gem install pg --platform ruby/m)
  end
end