Skip to content

Commit

Permalink
Make rubocop happy
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravtiwari committed Jan 28, 2018
1 parent a6a8b45 commit b3654c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/webpacker/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def stylesheet_pack_tag(*names, **options)

private
def stylesheet?(name)
File.extname(name) == '.css'
File.extname(name) == ".css"
end

def sources_from_pack_manifest(names, type:)
Expand Down
2 changes: 1 addition & 1 deletion test/helper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def base_url
def test_asset_pack_path
assert_equal "/packs/bootstrap-300631c4f0e0f9c865bc.js", asset_pack_path("bootstrap.js")
assert_equal "/packs/bootstrap-c38deda30895059837cf.css", asset_pack_path("bootstrap.css")

Webpacker.dev_server.stub :running?, true do
Webpacker.dev_server.stub :hot_module_replacing?, true do
assert_nil asset_pack_path("bootstrap.css")
Expand Down

0 comments on commit b3654c0

Please sign in to comment.