spec/frontkick/command_spec.rb in frontkick-0.5.6 vs spec/frontkick/command_spec.rb in frontkick-0.5.7

- old
+ new

@@ -1,10 +1,10 @@ require 'spec_helper' RSpec.describe Frontkick::Command do describe '.exec' do describe 'timeout option' do - subject { described_class.exec('sleep 2 && ls /hoge', timeout: 1) } + subject { described_class.exec('sleep 2 && ls /hoge', timeout: 0.01) } it { expect { subject }.to raise_error Frontkick::Timeout } end end end