blob: 3da89f4a109ed7b5c134bf26d10566370a547cdf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
require "abstract_unit"
require "action_dispatch/system_testing/test_helpers/screenshot_helper"
class ScreenshotHelperTest < ActiveSupport::TestCase
test "image path is saved in tmp directory" do
new_test = ActionDispatch::SystemTestCase.new("x")
assert_equal "tmp/screenshots/failures_x.png", new_test.send(:image_path)
end
end
|