mirror of
				https://github.com/drapergem/draper
				synced 2023-03-27 23:21:17 -04:00 
			
		
		
		
	Moved cucumber task config to a file
This commit is contained in:
		
							parent
							
								
									a8039d2848
								
							
						
					
					
						commit
						eddebf8cdc
					
				
					 2 changed files with 3 additions and 6 deletions
				
			
		
							
								
								
									
										8
									
								
								Rakefile
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								Rakefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -4,14 +4,10 @@ require 'rake'
 | 
			
		|||
require 'bundler/gem_tasks'
 | 
			
		||||
 | 
			
		||||
require 'rspec/core/rake_task'
 | 
			
		||||
RSpec::Core::RakeTask.new do |t|
 | 
			
		||||
  t.pattern ='spec/**/*_spec.rb'
 | 
			
		||||
end
 | 
			
		||||
RSpec::Core::RakeTask.new
 | 
			
		||||
 | 
			
		||||
require 'cucumber/rake/task'
 | 
			
		||||
Cucumber::Rake::Task.new do |t|
 | 
			
		||||
  t.cucumber_opts = %w{--format progress}
 | 
			
		||||
end
 | 
			
		||||
Cucumber::Rake::Task.new
 | 
			
		||||
 | 
			
		||||
desc "Run all tests for CI"
 | 
			
		||||
task "ci" => ["spec", "cucumber"]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								config/cucumber.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								config/cucumber.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
default: --format=progress
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue