From 3b9c864affe8cb57e56a02f761c48ef2386695c6 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Thu, 11 Sep 2014 14:47:56 +0200 Subject: [PATCH] Fix specs --- spec/unit/api/v2/http/log_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/api/v2/http/log_spec.rb b/spec/unit/api/v2/http/log_spec.rb index f6a20b69..3907b774 100644 --- a/spec/unit/api/v2/http/log_spec.rb +++ b/spec/unit/api/v2/http/log_spec.rb @@ -31,7 +31,7 @@ describe Travis::Api::V2::Http::Log do end describe "with parts numbers specified" do - let(:data) { described_class.new(log, part_numbers: "1,3", chunked: true).data } + let(:data) { described_class.new(log, 'part_numbers' => "1,3", chunked: true).data } it 'returns only requested parts' do parts = log.parts.find_all { |p| p.number == 1 } log.parts.expects(:where).with(number: [1, 3]).returns(parts)