Class: RSpec::PathMatchers::Options::Birthtime
Overview
Class Method Summary
collapse
fetch_actual
Methods inherited from Base
description, match, validate_expected
Class Method Details
.key ⇒ Object
10
|
# File 'lib/rspec/path_matchers/options/birthtime.rb', line 10
def self.key = :birthtime
|
.normalize_expected_literal(expected) ⇒ Object
13
|
# File 'lib/rspec/path_matchers/options/birthtime.rb', line 13
def self.normalize_expected_literal(expected) = expected.to_time
|
.stat_attribute ⇒ Object
11
|
# File 'lib/rspec/path_matchers/options/birthtime.rb', line 11
def self.stat_attribute = :birthtime
|
.valid_expected_types ⇒ Object
12
|
# File 'lib/rspec/path_matchers/options/birthtime.rb', line 12
def self.valid_expected_types = [Time, DateTime]
|