mirror of
https://github.com/fspc/bike-database.git
synced 2025-02-23 01:23:24 -05:00
lk | tests bike index is not called
This commit is contained in:
parent
260874b35e
commit
9948681b68
@ -2,8 +2,8 @@ require 'spec_helper'
|
||||
|
||||
describe Bike do
|
||||
describe "#post_to_bike_index" do
|
||||
xit "calls BikeIndexLogger if no bike_index_id is present" do
|
||||
expect(BikeIndexLogger).to receive(:perform_async)
|
||||
it "does not calls BikeIndexLogger if no bike_index_id is present" do
|
||||
expect(BikeIndexLogger).not_to receive(:perform_async)
|
||||
create(:bike, bike_index_id: nil)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user