From 5ca8b29f5aba36fd7fc737fda22063b940d5a1ae Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Mon, 12 Jan 2015 12:49:23 +0100 Subject: [PATCH] Fix specs --- spec/unit/api/v2/http/log_spec.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spec/unit/api/v2/http/log_spec.rb b/spec/unit/api/v2/http/log_spec.rb index 3907b774..6a9c3064 100644 --- a/spec/unit/api/v2/http/log_spec.rb +++ b/spec/unit/api/v2/http/log_spec.rb @@ -3,6 +3,9 @@ require 'spec_helper' describe Travis::Api::V2::Http::Log do include Travis::Testing::Stubs + let(:log) { + stub_log(removed_at: false) + } let(:data) { described_class.new(log).data } it 'log' do @@ -19,7 +22,7 @@ describe Travis::Api::V2::Http::Log do stub_log(parts: [ stub_log_part(id: 2, number: 2, content: 'bar', final: true), stub_log_part(id: 1, number: 1, content: 'foo') - ]) + ], removed_at: false) end let(:data) { described_class.new(log, chunked: true).data }