Sha256: 25bf45fe5018063f9fe3850eef34cf006093b0c782214324756385b00961bbad

Contents?: true

Size: 435 Bytes

Versions: 3

Compression:

Stored size: 435 Bytes

Contents

# encoding: utf-8
require 'spec_helper'

describe Dataset do
  
  subject{
    build(:dataset, source_code: create(:source).code )
  }
  
  describe "#availability_delay" do
    context "given valid input" do
      it "saves the delay" do
        delay = '02:00:10'
        subject.availability_delay = delay
        subject.save
        Dataset.find(subject.id).availability_delay.should eq delay
      end
      
    end
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
quandl_client-0.1.13 spec/quandl/client/models/dataset/location_spec.rb
quandl_client-0.1.12 spec/quandl/client/models/dataset/location_spec.rb
quandl_client-0.1.11 spec/quandl/client/models/dataset/location_spec.rb