Skip to content

Commit

Permalink
Updated test to match revised output
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Heighes authored and Tim Heighes committed Nov 26, 2016
1 parent e021577 commit d849c33
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/exception_notifier/github_notifier_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ class GithubNotifierTest < ActiveSupport::TestCase
assert_includes github.title, '[Prefix] (ZeroDivisionError)'
assert_includes github.body, 'A ZeroDivisionError occurred:'
assert_includes github.body, 'divided by 0'
assert_includes github.body, '## Request:'
assert_includes github.body, "* HTTP Method: `GET`"
assert_includes github.body, "## Session:"
assert_includes github.body, "* session id: `nil`"
assert_includes github.body, "## Environment:"
assert_includes github.body, "* `REQUEST_METHOD : GET`"
assert_includes github.body, "## Backtrace:"
assert_includes github.body, '-------------------- Request --------------------'
assert_includes github.body, "* HTTP Method: GET"
assert_includes github.body, "-------------------- Session --------------------"
assert_includes github.body, "* session id: nil"
assert_includes github.body, "-------------------- Environment --------------------"
assert_includes github.body, "* REQUEST_METHOD : GET"
assert_includes github.body, "-------------------- Backtrace --------------------"
assert_includes github.body, "`fake_exception'"
end

Expand Down

0 comments on commit d849c33

Please sign in to comment.