diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-20 09:40:42 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-20 09:40:42 +0000 |
commit | ee664acb356f8123f4f6b00b73c1e1cf0866c7fb (patch) | |
tree | f8479f94a28f66654c6a4f6fb99bad6b4e86a40e /spec/helpers/boards_helper_spec.rb | |
parent | 62f7d5c5b69180e82ae8196b7b429eeffc8e7b4f (diff) | |
download | gitlab-ce-ee664acb356f8123f4f6b00b73c1e1cf0866c7fb.tar.gz |
Add latest changes from gitlab-org/gitlab@15-5-stable-eev15.5.0-rc42
Diffstat (limited to 'spec/helpers/boards_helper_spec.rb')
-rw-r--r-- | spec/helpers/boards_helper_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/helpers/boards_helper_spec.rb b/spec/helpers/boards_helper_spec.rb index ccc150c397a..27b7bac5a88 100644 --- a/spec/helpers/boards_helper_spec.rb +++ b/spec/helpers/boards_helper_spec.rb @@ -105,10 +105,6 @@ RSpec.describe BoardsHelper do allow(helper).to receive(:can?).with(user, :admin_issue_board, project).and_return(false) end - it 'returns a board_lists_path as lists_endpoint' do - expect(helper.board_data[:lists_endpoint]).to eq(board_lists_path(project_board)) - end - it 'returns board type as parent' do expect(helper.board_data[:parent]).to eq('project') end @@ -189,14 +185,4 @@ RSpec.describe BoardsHelper do end end end - - describe '#current_board_json' do - let(:board_json) { helper.current_board_json } - - it 'can serialise with a basic set of attributes' do - assign(:board, project_board) - - expect(board_json).to match_schema('current-board') - end - end end |