diff options
Diffstat (limited to 'spec/helpers/boards_helper_spec.rb')
-rw-r--r-- | spec/helpers/boards_helper_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/helpers/boards_helper_spec.rb b/spec/helpers/boards_helper_spec.rb index f5e5285554c..cb9be9d5fb4 100644 --- a/spec/helpers/boards_helper_spec.rb +++ b/spec/helpers/boards_helper_spec.rb @@ -48,6 +48,10 @@ describe BoardsHelper do it 'returns a board_lists_path as lists_endpoint' do expect(helper.board_data[:lists_endpoint]).to eq(board_lists_path(board)) end + + it 'returns board type as parent' do + expect(helper.board_data[:parent]).to eq('project') + end end describe '#current_board_json' do |