diff --git a/spec/models/html_variant_spec.rb b/spec/models/html_variant_spec.rb index 3178a395e..2378e5f7d 100644 --- a/spec/models/html_variant_spec.rb +++ b/spec/models/html_variant_spec.rb @@ -73,6 +73,6 @@ RSpec.describe HtmlVariant, type: :model do it "strips whitespace from the name" do variant = create(:html_variant, name: " hello world ") - variant.reload.name.should eq "hello world" + expect(variant.reload.name).to eq "hello world" end end