Skip to content

Commit d1662ca

Browse files
authored
style: remove extra spaces from the generated files (#205)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
1 parent 2b732f9 commit d1662ca

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

lib/generators/cypress_on_rails/templates/config/initializers/cypress_on_rails.rb.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ if defined?(CypressOnRails)
1515
<% unless options.experimental %># <% end %> cassette_library_dir: File.expand_path("#{__dir__}/../../<%= options.install_folder %>/fixtures/vcr_cassettes")
1616
<% unless options.experimental %># <% end %> }
1717
c.logger = Rails.logger
18-
18+
1919
# Server configuration for rake tasks (cypress:open, cypress:run, playwright:open, playwright:run)
2020
# c.server_host = 'localhost' # or use ENV['CYPRESS_RAILS_HOST']
21-
# c.server_port = 3001 # or use ENV['CYPRESS_RAILS_PORT']
21+
# c.server_port = 3001 # or use ENV['CYPRESS_RAILS_PORT']
2222
# c.transactional_server = true # Enable automatic transaction rollback between tests
23-
23+
2424
# Server lifecycle hooks for rake tasks
2525
# c.before_server_start = -> { DatabaseCleaner.clean_with(:truncation) }
2626
# c.after_server_start = -> { puts "Test server started on port #{CypressOnRails.configuration.server_port}" }

lib/generators/cypress_on_rails/templates/spec/e2e/e2e_helper.rb.erb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ factory = FactoryBot if defined?(FactoryBot)
2929
factory = FactoryGirl if defined?(FactoryGirl)
3030

3131
CypressOnRails::SmartFactoryWrapper.configure(
32-
always_reload: false,
33-
factory: factory,
34-
files: [
35-
Rails.root.join('spec', 'factories.rb'),
36-
Rails.root.join('spec', 'factories', '**', '*.rb')
37-
]
32+
always_reload: false,
33+
factory: factory,
34+
files: [
35+
Rails.root.join('spec', 'factories.rb'),
36+
Rails.root.join('spec', 'factories', '**', '*.rb')
37+
]
3838
)

0 commit comments

Comments
 (0)