Skip to content

Commit

Permalink
Fix Rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascaton committed Oct 14, 2023
1 parent 4775f4b commit 4ce1000
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/enumerate_it_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def initialize(foobar)
end
end

it 'when called, the scopes create the correct query', sqlite: true do
it 'when called, the scopes create the correct query', :sqlite do
ActiveRecord::Schema.define { create_table :test_class_with_scopes }

TestEnumeration.enumeration.each do |symbol, pair|
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
RSpec.configure do |config|
config.filter_run_when_matching :focus

config.before(:each, sqlite: true) do
config.before(:each, :sqlite) do
ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:')
end
end

0 comments on commit 4ce1000

Please sign in to comment.