Include the copyright notice in spec files #76
| @ -1,3 +1,5 @@ | |||||||
|  | # Copyright (C) 2024 Manuel Bustillo | ||||||
|  | 
 | ||||||
| require 'rails_helper' | require 'rails_helper' | ||||||
| 
 | 
 | ||||||
| module Tree | module Tree | ||||||
|  | |||||||
| @ -1,3 +1,5 @@ | |||||||
|  | # Copyright (C) 2024 Manuel Bustillo | ||||||
|  | 
 | ||||||
| FactoryBot.define do | FactoryBot.define do | ||||||
|   factory :group do |   factory :group do | ||||||
|     sequence(:name) { |i| "Group #{i}" } |     sequence(:name) { |i| "Group #{i}" } | ||||||
|  | |||||||
| @ -1,3 +1,5 @@ | |||||||
|  | # Copyright (C) 2024 Manuel Bustillo | ||||||
|  | 
 | ||||||
| FactoryBot.define do | FactoryBot.define do | ||||||
|   factory :guest do |   factory :guest do | ||||||
|     association :group |     association :group | ||||||
|  | |||||||
| @ -1,3 +1,5 @@ | |||||||
|  | # Copyright (C) 2024 Manuel Bustillo | ||||||
|  | 
 | ||||||
| require 'rails_helper' | require 'rails_helper' | ||||||
| 
 | 
 | ||||||
| RSpec.describe Expense, type: :model do | RSpec.describe Expense, type: :model do | ||||||
|  | |||||||
| @ -1,3 +1,5 @@ | |||||||
|  | # Copyright (C) 2024 Manuel Bustillo | ||||||
|  | 
 | ||||||
| require 'rails_helper' | require 'rails_helper' | ||||||
| 
 | 
 | ||||||
| RSpec.describe Group, type: :model do | RSpec.describe Group, type: :model do | ||||||
|  | |||||||
| @ -1,3 +1,5 @@ | |||||||
|  | # Copyright (C) 2024 Manuel Bustillo | ||||||
|  | 
 | ||||||
| require 'rails_helper' | require 'rails_helper' | ||||||
| 
 | 
 | ||||||
| RSpec.describe Guest, type: :model do | RSpec.describe Guest, type: :model do | ||||||
|  | |||||||
| @ -1,3 +1,5 @@ | |||||||
|  | # Copyright (C) 2024 Manuel Bustillo | ||||||
|  | 
 | ||||||
| require 'rails_helper' | require 'rails_helper' | ||||||
| 
 | 
 | ||||||
| RSpec.describe Seat, type: :model do | RSpec.describe Seat, type: :model do | ||||||
|  | |||||||
| @ -1,3 +1,5 @@ | |||||||
|  | # Copyright (C) 2024 Manuel Bustillo | ||||||
|  | 
 | ||||||
| require 'rails_helper' | require 'rails_helper' | ||||||
| 
 | 
 | ||||||
| RSpec.describe TablesArrangement, type: :model do | RSpec.describe TablesArrangement, type: :model do | ||||||
|  | |||||||
| @ -1,3 +1,5 @@ | |||||||
|  | # Copyright (C) 2024 Manuel Bustillo | ||||||
|  | 
 | ||||||
| # This file is copied to spec/ when you run 'rails generate rspec:install' | # This file is copied to spec/ when you run 'rails generate rspec:install' | ||||||
| require 'spec_helper' | require 'spec_helper' | ||||||
| ENV['RAILS_ENV'] ||= 'test' | ENV['RAILS_ENV'] ||= 'test' | ||||||
|  | |||||||
| @ -1,3 +1,5 @@ | |||||||
|  | # Copyright (C) 2024 Manuel Bustillo | ||||||
|  | 
 | ||||||
| require 'rails_helper' | require 'rails_helper' | ||||||
| module Tables | module Tables | ||||||
|   RSpec.describe DiscomfortCalculator do |   RSpec.describe DiscomfortCalculator do | ||||||
|  | |||||||
| @ -1,3 +1,5 @@ | |||||||
|  | # Copyright (C) 2024 Manuel Bustillo | ||||||
|  | 
 | ||||||
| require 'rails_helper' | require 'rails_helper' | ||||||
| 
 | 
 | ||||||
| module Tables | module Tables | ||||||
|  | |||||||
| @ -1,3 +1,5 @@ | |||||||
|  | # Copyright (C) 2024 Manuel Bustillo | ||||||
|  | 
 | ||||||
| # This file was generated by the `rails generate rspec:install` command. Conventionally, all | # This file was generated by the `rails generate rspec:install` command. Conventionally, all | ||||||
| # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. | # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. | ||||||
| # The generated `.rspec` file contains `--require spec_helper` which will cause | # The generated `.rspec` file contains `--require spec_helper` which will cause | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user