mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-10 23:07:47 +00:00
[wip] spec for tab method
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user