diff --git a/spec/models/spree/admin/actions/product_properties_default_actions_builder_spec.rb b/spec/models/spree/admin/actions/product_properties_default_actions_builder_spec.rb index 18466dbd79..e646a92f72 100644 --- a/spec/models/spree/admin/actions/product_properties_default_actions_builder_spec.rb +++ b/spec/models/spree/admin/actions/product_properties_default_actions_builder_spec.rb @@ -5,8 +5,8 @@ module Admin describe Actions::ProductPropertiesDefaultActionsBuilder, type: :model do let(:builder) { described_class.new } let(:default_actions) do - [:select_from_prototype - "javascript:;"] + [:select_from_prototype, + :add_product_properties] end describe '#build' do diff --git a/spec/models/spree/admin/tabs/tab_spec.rb b/spec/models/spree/admin/tabs/tab_spec.rb index e355847cb2..4d0e823291 100644 --- a/spec/models/spree/admin/tabs/tab_spec.rb +++ b/spec/models/spree/admin/tabs/tab_spec.rb @@ -19,6 +19,7 @@ module Admin } end let(:check) { nil } + let(:availability_checks) { [] } describe '#icon_name' do subject { tab.icon_name }