Skip to content

Commit

Permalink
🚨 Auto-correct with Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshoku committed May 16, 2020
1 parent f038ae6 commit bb181b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spec/rumale/feature_extraction/feature_hasher_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
Object.send(:remove_const, :Mmh3)
end

after { Mmh3 = @backup }

it 'raises Runtime error' do
expect { encoder.fit_transform(x) }.to raise_error(RuntimeError)
end

after { Mmh3 = @backup }
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@
Object.send(:remove_const, :Mopti)
end

after { Mopti = @backup }

it 'raises Runtime error' do
expect { transformer.fit(x, y) }.to raise_error(RuntimeError)
end

after { Mopti = @backup }
end

it 'dumps and restores itself using Marshal module.', :aggregate_failures do
Expand Down

0 comments on commit bb181b3

Please sign in to comment.