Missing # prefix for #to_not and #not_to

This commit is contained in:
Michael Miller 2018-11-19 22:00:45 -07:00
parent ee274dbebd
commit d576e4a1fa

View file

@ -92,8 +92,8 @@ describe Spectator::Expectations::ValueExpectationPartial do
end
end
{% for method in [:to_not, :not_to] %}
describe "{{method.id}}" do
{% for method in %i[to_not not_to] %}
describe "#" + {{method.id.stringify}} do
it "reports an expectation" do
spy = SpyExample.create do
actual = 777