blob: d86bc4e62d43c6c20552c2716569373f79b904e5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
require "active_support/testing/autorun"
require "action_system_test"
class ScreenshotHelperTest < ActiveSupport::TestCase
test "image path is saved in tmp directory" do
new_test = ActionSystemTest::Base.new("x")
assert_equal "tmp/screenshots/failures_x.png", new_test.send(:image_path)
end
end
|