spec/embulk_spec.rb in embulk-input-jira-0.0.4 vs spec/embulk_spec.rb in embulk-input-jira-0.0.5

- old
+ new

@@ -9,14 +9,14 @@ let(:config_file) { Tempfile.new("embulk-conf") } before do config_file.puts config config_file.close - allow(org.embulk.spi.Exec).to receive_message_chain(:session, :isPreview).and_return(true) + allow(org.embulk.spi.Exec).to receive(:isPreview).and_return(true) end subject { - capture_output(:out) do + capture(:out) do Embulk.run ["preview", config_file.path] end } it do