Sha256: e7ffd9af9141cd76439e4fb64f4b47d46b4335d4ecad18dcaf596f34467a2177
Contents?: true
Size: 441 Bytes
Versions: 4
Compression:
Stored size: 441 Bytes
Contents
require 'spec_helper' RSpec.describe "Span" do context "start_date & end_date" do let(:span_model) { SpanModel.new(:start_date => Date.current, :end_date => Date.current + 1) } let(:span) { span_model.span } it "should return the start_date" do expect(span.start_date).to eq(span_model.start_date) end it "should return the end_date" do expect(span.end_date).to eq(span_model.end_date) end end end
Version data entries
4 entries across 4 versions & 1 rubygems