Sha256: 7fadea33d367470dd7d2b09f6a86c447f963406afba6c2c5fb2a5c862cc97ff8

Contents?: true

Size: 230 Bytes

Versions: 4

Compression:

Stored size: 230 Bytes

Contents

module Errational
  module TestHelpers
    def assert_renders_error_message(error)
      assert_match @response.body, /#{error}/
    end

    def expect_no_error
      @controller.expects(:handle_exception).never
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
errational-0.12.04 lib/errational/test_helpers.rb
errational-0.9.09 lib/errational/test_helpers.rb
errational-0.8.16 lib/errational/test_helpers.rb
errational-0.7.1 lib/errational/test_helpers.rb