mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-25 12:36:27 +10:00
Commit page: async load branches info
Conflicts: config/routes.rb
This commit is contained in:
@@ -70,4 +70,13 @@ describe Projects::CommitController do
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe "#branches" do
|
||||
it "contains branch and tags information" do
|
||||
get :branches, project_id: project.to_param, id: commit.id
|
||||
|
||||
expect(assigns(:branches)).to include("master", "feature_conflict")
|
||||
expect(assigns(:tags)).to include("v1.1.0")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user