spec/normalizy/rspec/matcher/description_spec.rb in normalizy-1.1.1 vs spec/normalizy/rspec/matcher/description_spec.rb in normalizy-1.2.0
- old
+ new
@@ -4,19 +4,19 @@
RSpec.describe Normalizy::RSpec::Matcher, '.description' do
let!(:matcher) { described_class.new :name }
context 'with no :with expectation' do
- specify do
+ it do
matcher.from :from
matcher.to :to
expect(matcher.description).to eq 'normalizy name from "from" to "to"'
end
end
context 'with :with expectation' do
- specify do
+ it do
matcher.with :blank
matcher.from :from
matcher.to :to