spec/dockly/build_cache_spec.rb in dockly-1.1.1 vs spec/dockly/build_cache_spec.rb in dockly-1.2.0

- old
+ new

@@ -24,22 +24,22 @@ let(:up_to_date) { true } it "does not have the file lol" do i = subject.execute! output = "" - i.run('ls').attach { |chunk| output += chunk } + i.run('ls').attach { |source,chunk| output += chunk } output.should_not include('lol') end end context 'when the object is not up to date' do let(:up_to_date) { false } it "does have the file lol" do i = subject.execute! output = "" - i.run('ls').attach { |chunk| output += chunk } + i.run('ls').attach { |source,chunk| output += chunk } output.should include('lol') end end end @@ -50,10 +50,10 @@ context "when the build succeeds" do it "does have the file lol" do i = subject.run_build output = "" - i.run('ls').attach { |chunk| output += chunk } + i.run('ls').attach { |source,chunk| output += chunk } output.should include('lol') end end context "when the build fails" do