Refactored: knowledge crud spec to rubocop