Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ulferts committed Jun 21, 2024
1 parent 8d2e730 commit 66b7f3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/helpers/menus/projects.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ def first_level_menu_items
private

def main_static_filters
puts "-- Current User is admin --"
puts current_user.admin?
puts "-- Current User is admin --"

static_filters [
::Queries::Projects::Factory::STATIC_ACTIVE,
::Queries::Projects::Factory::STATIC_MY,
Expand Down
1 change: 0 additions & 1 deletion spec/features/projects/global_menu_item_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

RSpec.describe "Projects global menu item", :js, :with_cuprite do
current_user { create(:user) }
shared_let(:project) { create(:project) }

before do
visit root_path
Expand Down

0 comments on commit 66b7f3a

Please sign in to comment.