Skip to content

Commit

Permalink
style: fix rubocop issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rubysamurai committed Apr 5, 2024
1 parent 98588c8 commit 0a259df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/purecss/sassc_compilation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
syntax: :scss
)
expect {
File.open("tmp/#{file}.css", 'w') { |f| f.write(sass_engine.render) }
File.write("tmp/#{file}.css", sass_engine.render)
}.not_to raise_error
end
end
2 changes: 1 addition & 1 deletion spec/support/dummy_rails_app/config.ru
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment', __FILE__)
require File.expand_path('config/environment', __dir__)
run Rails.application

0 comments on commit 0a259df

Please sign in to comment.