debian-mirror-gitlab/spec/views/layouts/nav/sidebar/_profile.html.haml_spec.rb

14 lines
247 B
Ruby
Raw Normal View History

2019-05-18 00:54:41 +05:30
# frozen_string_literal: true
require 'spec_helper'
describe 'layouts/nav/sidebar/_profile' do
let(:user) { create(:user) }
before do
allow(view).to receive(:current_user).and_return(user)
end
it_behaves_like 'has nav sidebar'
end