We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4d9879 commit f21aff8Copy full SHA for f21aff8
spec/models/no_cms/blocks/blocks/active_resource_spec.rb
@@ -47,7 +47,7 @@
47
# We mock the Country model so we don't have to query any API
48
before do
49
allow(Country).to receive(:build).and_return(build(:country))
50
- expect_any_instance_of(Country).to receive(:save).exactly(2).times.and_return(true)
+ expect_any_instance_of(Country).to receive(:save).at_least(:once).and_return(true)
51
end
52
53
let(:country_attributes) { attributes_for(:country) }
0 commit comments