fixed some issues with specs
add rspec and tests for navbar helper