Commit 1ea0cd21 authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Adjust updated board attributes spec

parent ada0c8ca
......@@ -141,7 +141,8 @@ describe Projects::BoardsController do
it 'updates board with valid params' do
update_board board, update_params
expect(board.reload).to have_attributes(update_params)
expect(board.reload).to have_attributes(update_params.except(:assignee_id))
expect(board.assignee).to eq(user)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment