Skip to content

Commit

Permalink
fix spec on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmelt committed May 12, 2016
1 parent 2070c55 commit fa125f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/tools/cmd_tlm_server/router_thread_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module Cosmos
allow(@interface).to receive(:disconnect)
allow(@interface).to receive(:read) do
sleep 0.06
@packet
@packet.clone
end
end

Expand Down Expand Up @@ -115,7 +115,7 @@ module Cosmos
expect(Thread.list.length).to eql(1)
expect(stdout.string).to match "Received unknown identified command: BOB SMITH"
end
expect(target).to have_received(:interface).twice #and_return(@interface)
expect(target).to have_received(:interface).at_least(2).times #and_return(@interface)
end

it "does not send identified commands with a target and no interface" do
Expand Down

0 comments on commit fa125f2

Please sign in to comment.