Skip to content

Commit

Permalink
Rubocop fix
Browse files Browse the repository at this point in the history
  • Loading branch information
L-Eugene committed Oct 29, 2021
1 parent 73c26ed commit 373eea4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

def load_json_fixtures(fname)
JSON.parse(
IO.read(fname),
File.read(fname),
symbolize_names: true
)
end
Expand Down
2 changes: 1 addition & 1 deletion spec/unit_test/db/vk_informer_wall_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
fn = 'vk_informer_wall_spec/wall.get.1.json'
@stub = stub_request(:post, 'https://api.vk.com/method/wall.get')
.to_return(
body: IO.read("#{File.dirname(__FILE__)}/../../fixtures/#{fn}")
body: File.read("#{File.dirname(__FILE__)}/../../fixtures/#{fn}")
)
end

Expand Down

0 comments on commit 373eea4

Please sign in to comment.