class Producer::Core::Tests::FileEq
Public Instance Methods
verify()
click to toggle source
# File lib/producer/core/tests/file_eq.rb, line 5 def verify file_content ? file_content == expected_content : false end
Private Instance Methods
expected_content()
click to toggle source
# File lib/producer/core/tests/file_eq.rb, line 15 def expected_content arguments[1] end
file_content()
click to toggle source
# File lib/producer/core/tests/file_eq.rb, line 11 def file_content @file_content ||= fs.file_read(arguments[0]) end