Merge pull request 'Include the copyright notice in spec files' (#76) from copyright-specs into main
Reviewed-on: #76
This commit is contained in:
commit
5aa86da10c
2
.github/workflows/copyright_notice.yml
vendored
2
.github/workflows/copyright_notice.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
with:
|
||||
CopyrightString: '# Copyright (C) 2024 Manuel Bustillo\n\n'
|
||||
FileType: '.rb'
|
||||
Path: 'app/, config/, db/'
|
||||
Path: 'app/, config/, db/, spec/'
|
||||
- uses: VinnyBabuManjaly/copyright-action@v1.0.0
|
||||
with:
|
||||
CopyrightString: '<%# Copyright (C) 2024 Manuel Bustillo %>\n\n'
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Copyright (C) 2024 Manuel Bustillo
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
module Tree
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Copyright (C) 2024 Manuel Bustillo
|
||||
|
||||
FactoryBot.define do
|
||||
factory :group do
|
||||
sequence(:name) { |i| "Group #{i}" }
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Copyright (C) 2024 Manuel Bustillo
|
||||
|
||||
FactoryBot.define do
|
||||
factory :guest do
|
||||
association :group
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Copyright (C) 2024 Manuel Bustillo
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Expense, type: :model do
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Copyright (C) 2024 Manuel Bustillo
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Group, type: :model do
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Copyright (C) 2024 Manuel Bustillo
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Guest, type: :model do
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Copyright (C) 2024 Manuel Bustillo
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Seat, type: :model do
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Copyright (C) 2024 Manuel Bustillo
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
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'
|
||||
require 'spec_helper'
|
||||
ENV['RAILS_ENV'] ||= 'test'
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Copyright (C) 2024 Manuel Bustillo
|
||||
|
||||
require 'rails_helper'
|
||||
module Tables
|
||||
RSpec.describe DiscomfortCalculator do
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Copyright (C) 2024 Manuel Bustillo
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
module Tables
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user