Top Level Namespace

Defined Under Namespace

Modules: Vigia

Instance Method Summary collapse

Instance Method Details

#format_error(result, expectation) ⇒ Object



3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/vigia/spec/support/utils.rb', line 3

def format_error(result, expectation)
  <<-FORMATTED_ERROR

  Expected:

    #{ expectation.inspect }

  Got:

    #{ result.inspect }


  FORMATTED_ERROR
end