mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:19:52 +01:00
Remove warning in WebPush controller test
This commit is contained in:
parent
ae52810aae
commit
16b9262bed
1 changed files with 2 additions and 2 deletions
|
@ -118,8 +118,8 @@ describe Ajax::WebPushController, :ajax_controller, type: :controller do
|
|||
|
||||
it "removes the subscription" do
|
||||
subject
|
||||
expect { subscription.reload }.to raise_error(ActiveRecord::RecordNotFound)
|
||||
expect { other_subscription.reload }.not_to raise_error(ActiveRecord::RecordNotFound)
|
||||
expect(WebPushSubscription.exists?(subscription.id)).to eq(false)
|
||||
expect(WebPushSubscription.exists?(other_subscription.id)).to eq(true)
|
||||
end
|
||||
|
||||
include_examples "returns the expected response"
|
||||
|
|
Loading…
Reference in a new issue