Remove debugger

pull/915/head
Rick Carlino 2018-07-16 16:32:42 -05:00
parent 9f25d8cf40
commit d21400a833
2 changed files with 1 additions and 4 deletions

View File

@ -63,7 +63,6 @@ describe Api::PinBindingsController do
put :update,
body: input.to_json,
params: { format: :json, id: pin_binding.id}
binding.pry unless response.status == 200
expect(response.status).to eq(200)
pin_binding.reload
input.map do |(key, _)|

View File

@ -44,9 +44,7 @@ describe Device do
expect(Rails.cache.exist?(cache_key)).to be false
expect(Rails.cache.fetch(cache_key)).to eq(nil)
Device.cached_find(id)
x = Rails.cache.exist?(cache_key)
binding.pry unless x
expect(x).to be true
expect(Rails.cache.exist?(cache_key)).to be true
expect(Rails.cache.fetch(cache_key)).to eq(device)
Rails.cache.delete(cache_key)
end