Skip to content

Commit 7755d99

Browse files
committed
restore spec
1 parent eaba50d commit 7755d99

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.rubocop.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,12 @@ RSpec/ContextWording:
124124
RSpec/NoExpectationExample:
125125
Enabled: false
126126

127+
RSpec/IncludeExamples:
128+
Enabled: false
129+
130+
RSpec/SharedExamples:
131+
Enabled: false
132+
127133
# Performance preferences
128134
Performance/CollectionLiteralInLoop:
129135
Enabled: true

spec/castle_devise/sdk_facade_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
describe "#filter" do
5555
let(:event) { "$login" }
5656

57-
it_behaves_like "calls before- and after- hooks", :filter do
57+
include_examples "calls before- and after- hooks", :filter do
5858
before do
5959
facade.filter(event: event, context: context)
6060
end
@@ -91,7 +91,7 @@
9191
describe "#risk" do
9292
let(:event) { "$login" }
9393

94-
it_behaves_like "calls before- and after- hooks", :risk do
94+
include_examples "calls before- and after- hooks", :risk do
9595
before do
9696
facade.risk(event: event, context: context)
9797
end
@@ -101,7 +101,7 @@
101101
describe "#log" do
102102
let(:event) { "$login" }
103103

104-
it_behaves_like "calls before- and after- hooks", :log do
104+
include_examples "calls before- and after- hooks", :log do
105105
before do
106106
facade.log(event: event, status: "$failed", context: context)
107107
end

0 commit comments

Comments
 (0)