Skip to content

Commit

Permalink
Use a regular double instead of an instance double for waiter
Browse files Browse the repository at this point in the history
Process::Waiter does not exist in ruby 2.1
  • Loading branch information
mmb committed Jan 28, 2016
1 parent 5cb996e commit ae04b69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/classes/meme_captain_web/animated_gif_coalescer_spec.rb
Expand Up @@ -5,7 +5,9 @@
let(:i) { instance_double(IO) }
let(:o) { instance_double(IO) }
let(:e) { instance_double(IO) }
let(:t) { instance_double(Process::Waiter) }
# this is not instance_double(Process::Waiter) because Process::Waiter is not
# in ruby 2.1
let(:t) { double('waiter') }
let(:status) { instance_double(Process::Status) }

describe '#coalesce' do
Expand Down

0 comments on commit ae04b69

Please sign in to comment.