specs/driver_metadata.rb in percy-appium-app-0.0.1 vs specs/driver_metadata.rb in percy-appium-app-0.0.2.pre.beta.0
- old
+ new
@@ -1,23 +1,21 @@
# frozen_string_literal: true
-# rubocop:disable Metrics/MethodLength
-
require 'minitest/autorun'
require 'minitest/mock'
require 'appium_lib'
require_relative '../percy/metadata/driver_metadata'
-# Test suite for the DriverMetadata class
+# Test suite for the Percy::DriverMetadata class
class TestDriverMetadata < Minitest::Test
def setup
@mock_webdriver = Minitest::Mock.new
@http = Minitest::Mock.new
@bridge = Minitest::Mock.new
@server_url = Minitest::Mock.new
- @metadata = DriverMetadata.new(@mock_webdriver)
+ @metadata = Percy::DriverMetadata.new(@mock_webdriver)
end
def test_session_id
session_id = 'session_id_123'
@mock_webdriver.expect(:session_id, session_id)