Sha256: 6e1d3ad304aaf69a643055b7c3b97cbbbadfe2f5d69af7b0d8824de92c254ca9
Contents?: true
Size: 497 Bytes
Versions: 8
Compression:
Stored size: 497 Bytes
Contents
require 'spec_helper' module Stash module Wrapper describe Embargo do describe 'none' do it "returns a no-embargo #{Embargo}" do embargo = Embargo.none expect(embargo).to be_an(Embargo) expect(embargo.type).to eq(EmbargoType::NONE) expect(embargo.period).to eq('none') today = Date.today expect(embargo.start_date).to eq(today) expect(embargo.end_date).to eq(today) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems