From 658c2331ca20d32980f5781089d2512fac418044 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Mon, 28 Oct 2024 22:07:35 +0000 Subject: [PATCH] Add copyright notice --- spec/extensions/tree_spec.rb | 2 ++ spec/factories/groups.rb | 2 ++ spec/factories/guest.rb | 2 ++ spec/models/expense_spec.rb | 2 ++ spec/models/group_spec.rb | 2 ++ spec/models/guest_spec.rb | 2 ++ spec/models/seat_spec.rb | 2 ++ spec/models/tables_arrangement_spec.rb | 2 ++ spec/rails_helper.rb | 2 ++ spec/services/tables/discomfort_calculator_spec.rb | 2 ++ spec/services/tables/swap_spec.rb | 2 ++ spec/spec_helper.rb | 2 ++ 12 files changed, 24 insertions(+) diff --git a/spec/extensions/tree_spec.rb b/spec/extensions/tree_spec.rb index cbefba4..6629197 100644 --- a/spec/extensions/tree_spec.rb +++ b/spec/extensions/tree_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + require 'rails_helper' module Tree diff --git a/spec/factories/groups.rb b/spec/factories/groups.rb index 9bfade0..4ebce4e 100644 --- a/spec/factories/groups.rb +++ b/spec/factories/groups.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + FactoryBot.define do factory :group do sequence(:name) { |i| "Group #{i}" } diff --git a/spec/factories/guest.rb b/spec/factories/guest.rb index 7ff9066..688cdea 100644 --- a/spec/factories/guest.rb +++ b/spec/factories/guest.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + FactoryBot.define do factory :guest do association :group diff --git a/spec/models/expense_spec.rb b/spec/models/expense_spec.rb index 5ad50a3..a6592fe 100644 --- a/spec/models/expense_spec.rb +++ b/spec/models/expense_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + require 'rails_helper' RSpec.describe Expense, type: :model do diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb index be100cf..c31cd69 100644 --- a/spec/models/group_spec.rb +++ b/spec/models/group_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + require 'rails_helper' RSpec.describe Group, type: :model do diff --git a/spec/models/guest_spec.rb b/spec/models/guest_spec.rb index 1e6abc7..1d3e530 100644 --- a/spec/models/guest_spec.rb +++ b/spec/models/guest_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + require 'rails_helper' RSpec.describe Guest, type: :model do diff --git a/spec/models/seat_spec.rb b/spec/models/seat_spec.rb index bdcd95d..2020f33 100644 --- a/spec/models/seat_spec.rb +++ b/spec/models/seat_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + require 'rails_helper' RSpec.describe Seat, type: :model do diff --git a/spec/models/tables_arrangement_spec.rb b/spec/models/tables_arrangement_spec.rb index 71a09f5..ab4677c 100644 --- a/spec/models/tables_arrangement_spec.rb +++ b/spec/models/tables_arrangement_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + require 'rails_helper' RSpec.describe TablesArrangement, type: :model do diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index c10abff..233f83a 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # This file is copied to spec/ when you run 'rails generate rspec:install' require 'spec_helper' ENV['RAILS_ENV'] ||= 'test' diff --git a/spec/services/tables/discomfort_calculator_spec.rb b/spec/services/tables/discomfort_calculator_spec.rb index 3764e7e..c2426ba 100644 --- a/spec/services/tables/discomfort_calculator_spec.rb +++ b/spec/services/tables/discomfort_calculator_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + require 'rails_helper' module Tables RSpec.describe DiscomfortCalculator do diff --git a/spec/services/tables/swap_spec.rb b/spec/services/tables/swap_spec.rb index fff181f..3022af2 100644 --- a/spec/services/tables/swap_spec.rb +++ b/spec/services/tables/swap_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + require 'rails_helper' module Tables diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 327b58e..25cfd37 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # 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`. # The generated `.rspec` file contains `--require spec_helper` which will cause