Remove debugger
parent
9f25d8cf40
commit
d21400a833
|
@ -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, _)|
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue