mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-12 03:50:22 +00:00
Fix HTML bug on new payment method page and update providers_controller spec
This commit is contained in:
@@ -27,4 +27,4 @@ describe "ProvidersCtrl", ->
|
||||
ctrl = $controller 'ProvidersCtrl', {$scope: scope, paymentMethod: paymentMethod }
|
||||
|
||||
it "sets the include_html porperty on scope to some address", ->
|
||||
expect(scope.include_html).toBe "/admin/payment_methods/show_provider_preferences?provider_type=NOT NULL;pm_id=#{paymentMethod.id};"
|
||||
expect(scope.include_html).toBe "/admin/payment_methods/show_provider_preferences?provider_type=NOT NULL;pm_id=#{paymentMethod.id || ''};"
|
||||
|
||||
Reference in New Issue
Block a user