diff --git a/.rubocop.yml b/.rubocop.yml index f9d86d4..d7e7790 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,6 +1,32 @@ # Omakase Ruby styling for Rails inherit_gem: { rubocop-rails-omakase: rubocop.yml } +Style/TrailingCommaInArguments: + EnforcedStyleForMultiline: consistent_comma +Style/TrailingCommaInArrayLiteral: + EnforcedStyleForMultiline: consistent_comma +Style/TrailingCommaInHashLiteral: + EnforcedStyleForMultiline: consistent_comma +Style/StringLiterals: + Enabled: true + EnforcedStyle: double_quotes + Include: + - "app/**/*" + - "config/**/*" + - "lib/**/*" + - "spec/**/*" + - "Gemfile" +Style/StringLiteralsInInterpolation: + EnforcedStyle: double_quotes + Include: + - "app/**/*" + - "config/**/*" + - "lib/**/*" + - "spec/**/*" + - "Gemfile" +Bundler/OrderedGems: + Enabled: true + # Overwrite or add rules to create your own house style # # # Use `[a, [b, c]]` not `[ a, [ b, c ] ]` diff --git a/Gemfile b/Gemfile index 52f68e1..f56e417 100644 --- a/Gemfile +++ b/Gemfile @@ -23,9 +23,9 @@ gem "tailwindcss-rails" gem "tzinfo-data", platforms: %i[ windows jruby ] # Use the database-backed adapters for Rails.cache, Active Job, and Action Cable +gem "solid_cable" gem "solid_cache" gem "solid_queue" -gem "solid_cable" # Reduces boot times through caching; required in config/boot.rb gem "bootsnap", require: false diff --git a/app/services/admins_xml_parser.rb b/app/services/admins_xml_parser.rb index 25df7b3..e30d9de 100644 --- a/app/services/admins_xml_parser.rb +++ b/app/services/admins_xml_parser.rb @@ -5,7 +5,7 @@ def parse first_name: node.at_xpath("USER_FNAME")&.text&.strip, last_name: node.at_xpath("USER_LNAME")&.text&.strip, login_id: node.at_xpath("USER_ID")&.text&.strip&.downcase, - legacy_password_hash: node.at_xpath("PASSWORD")&.text&.strip + legacy_password_hash: node.at_xpath("PASSWORD")&.text&.strip, } end end diff --git a/app/services/content_importer.rb b/app/services/content_importer.rb index 210b8c6..e121d8b 100644 --- a/app/services/content_importer.rb +++ b/app/services/content_importer.rb @@ -13,7 +13,7 @@ def import files: { created: 0 }, authors: { created: 0 }, tags: { created: 0 }, - errors: [] + errors: [], } parsed_content.each do |provider_data| diff --git a/app/services/content_xml_parser.rb b/app/services/content_xml_parser.rb index 46b6072..bd19346 100644 --- a/app/services/content_xml_parser.rb +++ b/app/services/content_xml_parser.rb @@ -30,7 +30,7 @@ def parse_topics(provider_node) issue: title_node.at_xpath("topic_issue")&.text&.strip, files: parse_files(title_node), authors: parse_authors(title_node), - tags: parse_tags(title_node) + tags: parse_tags(title_node), } end @@ -57,7 +57,7 @@ def parse_files(title_node) files << { filename: filename, file_size: file_node["file_size"]&.to_i, - file_type: determine_file_type(filename) + file_type: determine_file_type(filename), } end diff --git a/app/services/stats_service.rb b/app/services/stats_service.rb index 8ff99e0..f07dff2 100644 --- a/app/services/stats_service.rb +++ b/app/services/stats_service.rb @@ -13,7 +13,7 @@ def overview total_authors: Author.count, total_tags: Tag.count, total_favorites: Favorite.count, - total_local_files: LocalFile.count + total_local_files: LocalFile.count, } end @@ -28,7 +28,7 @@ def activity_summary searches: base_query.searches.count, favorites: base_query.favorites.count, unfavorites: base_query.unfavorites.count, - unique_users: base_query.distinct.count(:user_id) + unique_users: base_query.distinct.count(:user_id), } end @@ -146,7 +146,7 @@ def group_by_day(relation, column) # No string interpolation - each column has a literal SQL expression DATE_SQL_EXPRESSIONS = { "created_at" => Arel.sql("DATE(created_at)"), - "updated_at" => Arel.sql("DATE(updated_at)") + "updated_at" => Arel.sql("DATE(updated_at)"), }.freeze def date_sql_for_column(column) @@ -162,7 +162,7 @@ module GroupByDayExtension # Pre-defined SQL expressions for allowed columns (no interpolation) DATE_SQL_EXPRESSIONS = { "created_at" => Arel.sql("DATE(created_at)"), - "updated_at" => Arel.sql("DATE(updated_at)") + "updated_at" => Arel.sql("DATE(updated_at)"), }.freeze def group_by_day(column) diff --git a/app/services/users_xml_parser.rb b/app/services/users_xml_parser.rb index 94828f8..29ffa2c 100644 --- a/app/services/users_xml_parser.rb +++ b/app/services/users_xml_parser.rb @@ -6,7 +6,7 @@ def parse last_name: node.at_xpath("USER_LNAME")&.text&.strip, login_id: node.at_xpath("USER_ID")&.text&.strip&.downcase, login_count: node.at_xpath("LOGIN_COUNTER")&.text&.to_i || 0, - favorites: parse_favorites(node.at_xpath("FAVOURITE")&.text) + favorites: parse_favorites(node.at_xpath("FAVOURITE")&.text), } end end diff --git a/config/initializers/filter_parameter_logging.rb b/config/initializers/filter_parameter_logging.rb index c0b717f..ee2ed8c 100644 --- a/config/initializers/filter_parameter_logging.rb +++ b/config/initializers/filter_parameter_logging.rb @@ -4,5 +4,5 @@ # Use this to limit dissemination of sensitive information. # See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors. Rails.application.config.filter_parameters += [ - :passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :cvv, :cvc + :passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :cvv, :cvc, ] diff --git a/spec/helpers/admin/base_helper_spec.rb b/spec/helpers/admin/base_helper_spec.rb index 1ae9441..02eb1d8 100644 --- a/spec/helpers/admin/base_helper_spec.rb +++ b/spec/helpers/admin/base_helper_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" # Specs in this file have access to a helper object that includes # the Admin::BaseHelper. For example: diff --git a/spec/helpers/admin/dashboard_helper_spec.rb b/spec/helpers/admin/dashboard_helper_spec.rb index 628ccf8..3b5720d 100644 --- a/spec/helpers/admin/dashboard_helper_spec.rb +++ b/spec/helpers/admin/dashboard_helper_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" # Specs in this file have access to a helper object that includes # the Admin::DashboardHelper. For example: diff --git a/spec/helpers/admin/sessions_helper_spec.rb b/spec/helpers/admin/sessions_helper_spec.rb index 2bde3f2..f4d7374 100644 --- a/spec/helpers/admin/sessions_helper_spec.rb +++ b/spec/helpers/admin/sessions_helper_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" # Specs in this file have access to a helper object that includes # the Admin::SessionsHelper. For example: diff --git a/spec/helpers/audio_player_helper_spec.rb b/spec/helpers/audio_player_helper_spec.rb index ea9b223..d0b4ea9 100644 --- a/spec/helpers/audio_player_helper_spec.rb +++ b/spec/helpers/audio_player_helper_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" # Specs in this file have access to a helper object that includes # the AudioPlayerHelper. For example: diff --git a/spec/helpers/errors_helper_spec.rb b/spec/helpers/errors_helper_spec.rb index e359203..bf29ed1 100644 --- a/spec/helpers/errors_helper_spec.rb +++ b/spec/helpers/errors_helper_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" # Specs in this file have access to a helper object that includes # the ErrorsHelper. For example: diff --git a/spec/helpers/pdf_viewer_helper_spec.rb b/spec/helpers/pdf_viewer_helper_spec.rb index 94922b7..1914853 100644 --- a/spec/helpers/pdf_viewer_helper_spec.rb +++ b/spec/helpers/pdf_viewer_helper_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" # Specs in this file have access to a helper object that includes # the PdfViewerHelper. For example: diff --git a/spec/helpers/registrations_helper_spec.rb b/spec/helpers/registrations_helper_spec.rb index befe623..3ee99f1 100644 --- a/spec/helpers/registrations_helper_spec.rb +++ b/spec/helpers/registrations_helper_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" # Specs in this file have access to a helper object that includes # the RegistrationsHelper. For example: diff --git a/spec/helpers/search_helper_spec.rb b/spec/helpers/search_helper_spec.rb index 74b6daf..f19a2a2 100644 --- a/spec/helpers/search_helper_spec.rb +++ b/spec/helpers/search_helper_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" # Specs in this file have access to a helper object that includes # the SearchHelper. For example: diff --git a/spec/helpers/sessions_helper_spec.rb b/spec/helpers/sessions_helper_spec.rb index 9484198..544f94c 100644 --- a/spec/helpers/sessions_helper_spec.rb +++ b/spec/helpers/sessions_helper_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" # Specs in this file have access to a helper object that includes # the SessionsHelper. For example: diff --git a/spec/helpers/topics_helper_spec.rb b/spec/helpers/topics_helper_spec.rb index 6adfadb..6dd6adc 100644 --- a/spec/helpers/topics_helper_spec.rb +++ b/spec/helpers/topics_helper_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" # Specs in this file have access to a helper object that includes # the TopicsHelper. For example: diff --git a/spec/models/admin_activity_log_spec.rb b/spec/models/admin_activity_log_spec.rb index 19da45d..4eccb83 100644 --- a/spec/models/admin_activity_log_spec.rb +++ b/spec/models/admin_activity_log_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe AdminActivityLog, type: :model do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/models/admin_spec.rb b/spec/models/admin_spec.rb index 3fd73fb..65933a9 100644 --- a/spec/models/admin_spec.rb +++ b/spec/models/admin_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe Admin, type: :model do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/models/author_spec.rb b/spec/models/author_spec.rb index f19debd..85bacd1 100644 --- a/spec/models/author_spec.rb +++ b/spec/models/author_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe Author, type: :model do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/models/content_provider_spec.rb b/spec/models/content_provider_spec.rb index 2b95c1a..766fd21 100644 --- a/spec/models/content_provider_spec.rb +++ b/spec/models/content_provider_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe ContentProvider, type: :model do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/models/local_file_spec.rb b/spec/models/local_file_spec.rb index f43aefa..b816afb 100644 --- a/spec/models/local_file_spec.rb +++ b/spec/models/local_file_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe LocalFile, type: :model do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/models/tag_spec.rb b/spec/models/tag_spec.rb index 0d0fcb0..57c58ba 100644 --- a/spec/models/tag_spec.rb +++ b/spec/models/tag_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe Tag, type: :model do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/models/topic_author_spec.rb b/spec/models/topic_author_spec.rb index 5bfba8b..91a27ac 100644 --- a/spec/models/topic_author_spec.rb +++ b/spec/models/topic_author_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe TopicAuthor, type: :model do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/models/topic_file_spec.rb b/spec/models/topic_file_spec.rb index 4dc7744..6314876 100644 --- a/spec/models/topic_file_spec.rb +++ b/spec/models/topic_file_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe TopicFile, type: :model do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/models/topic_spec.rb b/spec/models/topic_spec.rb index b8c5a8e..4699237 100644 --- a/spec/models/topic_spec.rb +++ b/spec/models/topic_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe Topic, type: :model do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/models/topic_tag_spec.rb b/spec/models/topic_tag_spec.rb index 85a4ddc..4446718 100644 --- a/spec/models/topic_tag_spec.rb +++ b/spec/models/topic_tag_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe TopicTag, type: :model do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/models/user_activity_log_spec.rb b/spec/models/user_activity_log_spec.rb index 3966c1c..6db2983 100644 --- a/spec/models/user_activity_log_spec.rb +++ b/spec/models/user_activity_log_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe UserActivityLog, type: :model do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 47a31bb..c2a4112 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe User, type: :model do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index 9ff5090..1cdff3f 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -1,13 +1,13 @@ # This file is copied to spec/ when you run 'rails generate rspec:install' -require 'spec_helper' -ENV['RAILS_ENV'] ||= 'test' -require_relative '../config/environment' +require "spec_helper" +ENV["RAILS_ENV"] ||= "test" +require_relative "../config/environment" # Prevent database truncation if the environment is production abort("The Rails environment is running in production mode!") if Rails.env.production? # Uncomment the line below in case you have `--require rails_helper` in the `.rspec` file # that will avoid rails generators crashing because migrations haven't been run yet # return unless Rails.env.test? -require 'rspec/rails' +require "rspec/rails" # Add additional requires below this line. Rails is not loaded until this point! # Requires supporting ruby files with custom matchers and macros, etc, in @@ -40,7 +40,7 @@ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures config.fixture_paths = [ - Rails.root.join('spec/fixtures') + Rails.root.join("spec/fixtures"), ] # If you're not using ActiveRecord, or you'd prefer not to run each of your diff --git a/spec/requests/admin/base_spec.rb b/spec/requests/admin/base_spec.rb index 5cb0c44..48a2c67 100644 --- a/spec/requests/admin/base_spec.rb +++ b/spec/requests/admin/base_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "Admin::Bases", type: :request do describe "GET /index" do diff --git a/spec/views/admin/dashboard/index.html.tailwindcss_spec.rb b/spec/views/admin/dashboard/index.html.tailwindcss_spec.rb index 0541255..002b15d 100644 --- a/spec/views/admin/dashboard/index.html.tailwindcss_spec.rb +++ b/spec/views/admin/dashboard/index.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "dashboard/index.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/admin/sessions/create.html.tailwindcss_spec.rb b/spec/views/admin/sessions/create.html.tailwindcss_spec.rb index 3462da9..4bd40a5 100644 --- a/spec/views/admin/sessions/create.html.tailwindcss_spec.rb +++ b/spec/views/admin/sessions/create.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "sessions/create.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/admin/sessions/destroy.html.tailwindcss_spec.rb b/spec/views/admin/sessions/destroy.html.tailwindcss_spec.rb index ef9c42e..7a13a37 100644 --- a/spec/views/admin/sessions/destroy.html.tailwindcss_spec.rb +++ b/spec/views/admin/sessions/destroy.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "sessions/destroy.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/admin/sessions/new.html.tailwindcss_spec.rb b/spec/views/admin/sessions/new.html.tailwindcss_spec.rb index afa8f36..4030554 100644 --- a/spec/views/admin/sessions/new.html.tailwindcss_spec.rb +++ b/spec/views/admin/sessions/new.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "sessions/new.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/audio_player/show.html.tailwindcss_spec.rb b/spec/views/audio_player/show.html.tailwindcss_spec.rb index d60138c..5bda6b7 100644 --- a/spec/views/audio_player/show.html.tailwindcss_spec.rb +++ b/spec/views/audio_player/show.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "audio_player/show.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/errors/audio_not_found.html.tailwindcss_spec.rb b/spec/views/errors/audio_not_found.html.tailwindcss_spec.rb index 510969b..ac5b698 100644 --- a/spec/views/errors/audio_not_found.html.tailwindcss_spec.rb +++ b/spec/views/errors/audio_not_found.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "errors/audio_not_found.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/errors/not_found.html.tailwindcss_spec.rb b/spec/views/errors/not_found.html.tailwindcss_spec.rb index 7715150..3f5c5e1 100644 --- a/spec/views/errors/not_found.html.tailwindcss_spec.rb +++ b/spec/views/errors/not_found.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "errors/not_found.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/errors/pdf_not_found.html.tailwindcss_spec.rb b/spec/views/errors/pdf_not_found.html.tailwindcss_spec.rb index 363ed07..0b1c7e1 100644 --- a/spec/views/errors/pdf_not_found.html.tailwindcss_spec.rb +++ b/spec/views/errors/pdf_not_found.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "errors/pdf_not_found.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/errors/unsupported_browser.html.tailwindcss_spec.rb b/spec/views/errors/unsupported_browser.html.tailwindcss_spec.rb index 23a5152..c7d1f94 100644 --- a/spec/views/errors/unsupported_browser.html.tailwindcss_spec.rb +++ b/spec/views/errors/unsupported_browser.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "errors/unsupported_browser.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/pdf_viewer/show.html.tailwindcss_spec.rb b/spec/views/pdf_viewer/show.html.tailwindcss_spec.rb index 6558247..e87a517 100644 --- a/spec/views/pdf_viewer/show.html.tailwindcss_spec.rb +++ b/spec/views/pdf_viewer/show.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "pdf_viewer/show.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/registrations/create.html.tailwindcss_spec.rb b/spec/views/registrations/create.html.tailwindcss_spec.rb index b7aa6ca..18e9e55 100644 --- a/spec/views/registrations/create.html.tailwindcss_spec.rb +++ b/spec/views/registrations/create.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "registrations/create.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/registrations/new.html.tailwindcss_spec.rb b/spec/views/registrations/new.html.tailwindcss_spec.rb index 3202d25..55f7f6a 100644 --- a/spec/views/registrations/new.html.tailwindcss_spec.rb +++ b/spec/views/registrations/new.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "registrations/new.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/search/autocomplete.html.tailwindcss_spec.rb b/spec/views/search/autocomplete.html.tailwindcss_spec.rb index e5fe0da..e1e0a81 100644 --- a/spec/views/search/autocomplete.html.tailwindcss_spec.rb +++ b/spec/views/search/autocomplete.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "search/autocomplete.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/search/index.html.tailwindcss_spec.rb b/spec/views/search/index.html.tailwindcss_spec.rb index 3a4a542..2264e66 100644 --- a/spec/views/search/index.html.tailwindcss_spec.rb +++ b/spec/views/search/index.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "search/index.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/search/results.html.tailwindcss_spec.rb b/spec/views/search/results.html.tailwindcss_spec.rb index eca3cac..5bb72f1 100644 --- a/spec/views/search/results.html.tailwindcss_spec.rb +++ b/spec/views/search/results.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "search/results.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/sessions/create.html.tailwindcss_spec.rb b/spec/views/sessions/create.html.tailwindcss_spec.rb index 3462da9..4bd40a5 100644 --- a/spec/views/sessions/create.html.tailwindcss_spec.rb +++ b/spec/views/sessions/create.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "sessions/create.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/sessions/destroy.html.tailwindcss_spec.rb b/spec/views/sessions/destroy.html.tailwindcss_spec.rb index ef9c42e..7a13a37 100644 --- a/spec/views/sessions/destroy.html.tailwindcss_spec.rb +++ b/spec/views/sessions/destroy.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "sessions/destroy.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/sessions/new.html.tailwindcss_spec.rb b/spec/views/sessions/new.html.tailwindcss_spec.rb index afa8f36..4030554 100644 --- a/spec/views/sessions/new.html.tailwindcss_spec.rb +++ b/spec/views/sessions/new.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "sessions/new.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/topics/index.html.tailwindcss_spec.rb b/spec/views/topics/index.html.tailwindcss_spec.rb index 079c947..0340c56 100644 --- a/spec/views/topics/index.html.tailwindcss_spec.rb +++ b/spec/views/topics/index.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "topics/index.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/views/topics/show.html.tailwindcss_spec.rb b/spec/views/topics/show.html.tailwindcss_spec.rb index d6a8ea7..7cec158 100644 --- a/spec/views/topics/show.html.tailwindcss_spec.rb +++ b/spec/views/topics/show.html.tailwindcss_spec.rb @@ -1,4 +1,4 @@ -require 'rails_helper' +require "rails_helper" RSpec.describe "topics/show.html.tailwindcss", type: :view do pending "add some examples to (or delete) #{__FILE__}"