Sha256: 2affa20194c9a25553d08a92b3fd366c004942cd9edb5ad1c54d500479d5c643

Contents?: true

Size: 274 Bytes

Versions: 7

Compression:

Stored size: 274 Bytes

Contents

# frozen_string_literal: true
# This interface is only used if `@system.revision?` returns `true`.
module TimeTravelInterface
  def test_implements_time_travel_interface
    assert_respond_to @system, :head_reference
    assert_respond_to @system, :travel_to_head
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rubycritic-3.2.0 test/lib/rubycritic/source_control_systems/interfaces/time_travel.rb
rubycritic-3.1.3 test/lib/rubycritic/source_control_systems/interfaces/time_travel.rb
rubycritic-3.1.2 test/lib/rubycritic/source_control_systems/interfaces/time_travel.rb
rubycritic-3.1.1 test/lib/rubycritic/source_control_systems/interfaces/time_travel.rb
rubycritic-3.1.0 test/lib/rubycritic/source_control_systems/interfaces/time_travel.rb
rubycritic-3.0.0 test/lib/rubycritic/source_control_systems/interfaces/time_travel.rb
rubycritic-2.9.4 test/lib/rubycritic/source_control_systems/interfaces/time_travel.rb