summaryrefslogtreecommitdiff
path: root/spec/helpers/boards_helper_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/helpers/boards_helper_spec.rb')
-rw-r--r--spec/helpers/boards_helper_spec.rb14
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