Sha256: 04e3ba689d39e34f72894aea38d99d807ad11d44c27d3bffa6423a87fd08e159
Contents?: true
Size: 373 Bytes
Versions: 9
Compression:
Stored size: 373 Bytes
Contents
require 'spec_helper' describe Aptible::CLI::Helpers::DateHelpers do subject { Class.new.send(:include, described_class).new } describe '#utc_string' do it 'should accept a Datetime string from our API and return a UTC string' do result = subject.utc_string('2023-09-05T22:00:00.000Z') expect(result).to eq '2023-09-05 22:00:00 UTC' end end end
Version data entries
9 entries across 9 versions & 1 rubygems