[wip] spec for tab method

This commit is contained in:
David Cook
2024-05-16 09:40:10 +10:00
parent 7e8abd6f28
commit 1b95acb379

View File

@@ -34,6 +34,15 @@ module Spree
expect(helper.klass_for('Inventory')).to eq(VariantOverride)
end
end
describe "tab" do
it "includes translated value" do
# todo: mock translation?
expect(helper.tab(:oidc_settings)).to include "OIDC Settings"
end
it "transforms untranslated value"
end
end
end
end