Skip to content

Commit

Permalink
issue #481: fix duplicate start test to not expect AlreadyStarted to …
Browse files Browse the repository at this point in the history
…be raised
  • Loading branch information
ColinDKelley authored and ioquatix committed Sep 16, 2020
1 parent 3dff536 commit 86e06ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/lib/listen/event/loop_spec.rb
Expand Up @@ -64,8 +64,8 @@
end

context 'when start is called again' do
it 'raises AlreadyStarted' do
expect { subject.start }.to raise_exception(Listen::Event::Loop::Error::AlreadyStarted)
it 'returns silently' do
expect { subject.start }.to_not raise_exception
end
end
end
Expand Down

0 comments on commit 86e06ae

Please sign in to comment.