| 
									
										
										
										
											2015-05-06 13:22:23 +08:00
										 |  |  | require 'rspec/core/rake_task' | 
					
						
							| 
									
										
										
										
											2015-12-16 14:26:23 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | RSpec::Core::RakeTask.new(:spec) do |config| | 
					
						
							|  |  |  |   config.pattern = 'spec/lib/**/*_spec.rb' | 
					
						
							|  |  |  | end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | RSpec::Core::RakeTask.new(:integration) do |config| | 
					
						
							|  |  |  |   config.pattern = 'spec/integration/**/*_spec.rb' | 
					
						
							|  |  |  | end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | RSpec::Core::RakeTask.new(:integration_rails) do |config| | 
					
						
							|  |  |  |   config.pattern = 'spec/integration_rails/**/*_spec.rb' | 
					
						
							|  |  |  | end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | task default: [:spec, :integration, :integration_rails] |