Sha256: c0ab4dbc6e40e94a694e0a5b19adf0808a9571d317e6062e36914bff998edbfd
Contents?: true
Size: 461 Bytes
Versions: 6
Compression:
Stored size: 461 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe SQL::Generator::Literal, '.dup_frozen' do subject { object.dup_frozen(object_arg) } let(:object) { SQL::Generator::Literal } context 'with a frozen object' do let(:object_arg) { Time.now.freeze } it { should_not equal(object_arg) } it { should == object_arg } end context 'with a non-frozen object' do let(:object_arg) { Time.now } it { should equal(object_arg) } end end
Version data entries
6 entries across 6 versions & 2 rubygems