Skip to content

Commit

Permalink
Remove useless specs
Browse files Browse the repository at this point in the history
  • Loading branch information
benoittgt committed Jun 3, 2021
1 parent 781ab0e commit c03a0cd
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions spec/rspec/expectations/configuration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -209,20 +209,6 @@ def delegated?; true; end
configure_syntax :expect
end

describe "`:should` being enabled by default deprecation" do
before { configure_default_syntax }

it "does not warn when only the should syntax is explicitly configured" do
configure_syntax(:should)
3.should eq(3)
end

it "does not warn when both the should and expect syntaxes are explicitly configured" do
configure_syntax([:should, :expect])
3.should eq(3)
end
end

it 'can re-enable the :should syntax' do
configure_syntax :expect
configure_syntax [:should, :expect]
Expand Down

0 comments on commit c03a0cd

Please sign in to comment.