Switch to `expect` syntax in branch_spec.rb