c6edae3887 
								
							 
						 
						
							
							
								
								Load commit in batches for pipelines#index  
							
							... 
							
							
							
							Uses `list_commits_by_oid` on the CommitService, to request the needed
commits for pipelines. These commits are needed to display the user that
created the commit and the commit title.
This includes fixes for tests failing that depended on the commit
being `nil`. However, now these are batch loaded, this doesn't happen
anymore and the commits are an instance of BatchLoader. 
							
						 
						
							2017-12-19 10:05:40 +01:00  
				
					
						
							
							
								 
						
							
								3411fef1df 
								
							 
						 
						
							
							
								
								Cache commits on the repository model  
							
							... 
							
							
							
							Now, when requesting a commit from the Repository model, the results are
not cached. This means we're fetching the same commit by oid multiple times
during the same request. To prevent us from doing this, we now cache
results. Caching is done only based on object id (aka SHA).
Given we cache on the Repository model, results are scoped to the
associated project, eventhough the change of two repositories having the
same oids for different commits is small. 
							
						 
						
							2017-10-27 12:49:11 +02:00  
				
					
						
							
							
								 
						
							
								2f40dac352 
								
							 
						 
						
							
							
								
								Refactor `have_http_status` into `have_gitlab_http_status` in the specs  
							
							
							
						 
						
							2017-10-20 10:13:18 +02:00  
				
					
						
							
							
								 
						
							
								61f4d08b7b 
								
							 
						 
						
							
							
								
								Allow testing on Gitaly call count  
							
							... 
							
							
							
							Previous efforts were aimed at detecting N + 1 queries, general
regressions are hard to find and mitigate. 
							
						 
						
							2017-10-16 13:25:51 +02:00  
				
					
						
							
							
								 
						
							
								7b262c4356 
								
							 
						 
						
							
							
								
								Resolve "Precompiled assets with digest strings are ignored in CI"  
							
							
							
						 
						
							2017-10-03 14:47:56 +00:00  
				
					
						
							
							
								 
						
							
								72a7b30c9f 
								
							 
						 
						
							
							
								
								Change all `:empty_project` to `:project`  
							
							
							
						 
						
							2017-08-02 17:47:31 -04:00  
				
					
						
							
							
								 
						
							
								9513bd18c4 
								
							 
						 
						
							
							
								
								Ensure all project factories use `:repository` trait or `:empty_project`  
							
							
							
						 
						
							2017-08-01 14:51:52 -04:00  
				
					
						
							
							
								 
						
							
								7bd5e57125 
								
							 
						 
						
							
							
								
								Instead of adding master, stub_not_protect_default_branch  
							
							
							
						 
						
							2017-07-18 23:48:14 +08:00  
				
					
						
							
							
								 
						
							
								28553dbc05 
								
							 
						 
						
							
							
								
								Update tests due to permission changes  
							
							
							
						 
						
							2017-07-04 21:56:41 +08:00  
				
					
						
							
							
								 
						
							
								25b99a5b3b 
								
							 
						 
						
							
							
								
								Update tests and application  
							
							
							
						 
						
							2017-06-13 16:05:38 +02:00  
				
					
						
							
							
								 
						
							
								34ba80392d 
								
							 
						 
						
							
							
								
								Use :request_store hooks on specs  
							
							
							
						 
						
							2017-06-09 18:18:36 -03:00  
				
					
						
							
							
								 
						
							
								63da91725e 
								
							 
						 
						
							
							
								
								Improve pipeline size for query limit test  
							
							... 
							
							
							
							The pipeline was quite meagre in both stages and the number of groups.
This has been improved. Performance is not yet optimal, but to limit
this from sliding further this slippery slope, a hard limit has been
set. 
							
						 
						
							2017-05-17 15:06:32 +02:00  
				
					
						
							
							
								 
						
							
								c17e6a6c68 
								
							 
						 
						
							
							
								
								Real time pipeline show action  
							
							
							
						 
						
							2017-05-06 16:45:46 +00:00  
				
					
						
							
							
								 
						
							
								4f3dc19aaf 
								
							 
						 
						
							
							
								
								Add specs for new pipeline action for JSON format  
							
							
							
						 
						
							2017-05-05 09:32:13 +02:00  
				
					
						
							
							
								 
						
							
								ff76adb547 
								
							 
						 
						
							
							
								
								Unnecessary "include WaitForAjax" and "include ApiHelpers"  
							
							... 
							
							
							
							Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs.
Removed unnecessary usage of `api:true` 
							
						 
						
							2017-04-21 22:32:02 +02:00  
				
					
						
							
							
								 
						
							
								b544d8fade 
								
							 
						 
						
							
							
								
								Review changes, used eq instead of match  
							
							
							
						 
						
							2017-04-17 13:18:40 +01:00  
				
					
						
							
							
								 
						
							
								b24cb99856 
								
							 
						 
						
							
							
								
								Updated specs  
							
							
							
						 
						
							2017-04-13 12:50:03 +01:00  
				
					
						
							
							
								 
						
							
								a375d80eb0 
								
							 
						 
						
							
							
								
								Use detailed_status effectively. Remove unnecesarry context(nest). Add new context in merge_requests_controller_spec.rb and fix a bug. Correct description of spec.  
							
							
							
						 
						
							2017-03-23 17:11:49 +09:00  
				
					
						
							
							
								 
						
							
								08a0bc5397 
								
							 
						 
						
							
							
								
								Add more specs  
							
							
							
						 
						
							2017-03-23 17:11:49 +09:00  
				
					
						
							
							
								 
						
							
								38b1ec2cc0 
								
							 
						 
						
							
							
								
								Fix rspec failure  
							
							
							
						 
						
							2017-03-23 17:11:49 +09:00  
				
					
						
							
							
								 
						
							
								3b63500297 
								
							 
						 
						
							
							
								
								3 lines to One line. Correct spec caption.  
							
							
							
						 
						
							2017-03-23 17:11:49 +09:00  
				
					
						
							
							
								 
						
							
								f8d6e81b92 
								
							 
						 
						
							
							
								
								Fix rubocop anger  
							
							
							
						 
						
							2017-03-23 17:11:49 +09:00  
				
					
						
							
							
								 
						
							
								4fa4a2ce99 
								
							 
						 
						
							
							
								
								Add controllers spec  
							
							
							
						 
						
							2017-03-23 17:11:48 +09:00  
				
					
						
							
							
								 
						
							
								ad640bc5f9 
								
							 
						 
						
							
							
								
								Use Namespace#full_path instead of #path where appropriate  
							
							
							
						 
						
							2017-02-23 17:55:01 -06:00  
				
					
						
							
							
								 
						
							
								66bca235c1 
								
							 
						 
						
							
							
								
								Adds missing tests for all status accepted in scope  
							
							
							
						 
						
							2017-02-23 13:44:58 +00:00  
				
					
						
							
							
								 
						
							
								0f36cfd7f5 
								
							 
						 
						
							
							
								
								Adds Pending and Finished tabs to pipelines page  
							
							... 
							
							
							
							Fix broken test 
							
						 
						
							2017-02-16 22:25:01 +00:00  
				
					
						
							
							
								 
						
							
								63bb849145 
								
							 
						 
						
							
							
								
								Add controller specs for pipeline index API endpoint  
							
							... 
							
							
							
							[ci skip] 
							
						 
						
							2016-12-21 15:13:43 +01:00  
				
					
						
							
							
								 
						
							
								2b486c2bb2 
								
							 
						 
						
							
							
								
								Fix stage and pipeline specs and rubocop offenses  
							
							
							
						 
						
							2016-12-20 20:07:34 +01:00  
				
					
						
							
							
								 
						
							
								9c6480db89 
								
							 
						 
						
							
							
								
								Move test for HTML stage endpoint to controller specs  
							
							
							
						 
						
							2016-12-20 15:57:39 +01:00