aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/auth_social.t
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2020-01-16 15:51:44 +0000
committerDave Arter <davea@mysociety.org>2020-01-31 11:11:41 +0000
commit363cbb0ea0acf35a5bf56fcef6b3d60acc4f5fe7 (patch)
treef9aa7197a96e8d7a8411194975d9768ca708e8c3 /t/app/controller/auth_social.t
parentc6992034cdbfdac30fb5704247585e294bba3566 (diff)
Display inline map for duplicate suggestions on mobile
For #2668.
Diffstat (limited to 't/app/controller/auth_social.t')
0 files changed, 0 insertions, 0 deletions
.11 Unnamed repository; edit this file 'description' to name the repository.MimesBrønn
aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/gems/rspec-1.3.1/lib/spec/expectations/errors.rb
blob: 1fabd105d542657fc2d4b858596f4dff9ffc407e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
module Spec
  module Expectations
    # If Test::Unit is loaed, we'll use its error as baseclass, so that Test::Unit
    # will report unmet RSpec expectations as failures rather than errors.
    superclass = ['Test::Unit::AssertionFailedError', '::StandardError'].map do |c|
      eval(c) rescue nil
    end.compact.first
    
    class ExpectationNotMetError < superclass
    end
  end
end