1
0
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:
Louis Knapp 2015-09-18 15:21:25 -05:00
parent 260874b35e
commit 9948681b68

View File

@ -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