Skip to content

Commit

Permalink
rspec fix for rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
kowal authored and Marek Kowalcze committed Mar 15, 2016
1 parent dc8d621 commit 4dc0a61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 50 deletions.
48 changes: 0 additions & 48 deletions lib/polishgeeks/dev-tools/hash.rb

This file was deleted.

4 changes: 2 additions & 2 deletions spec/lib/polish_geeks/dev_tools/hash_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
end

context 'on the third level' do
let(:h1) { PolishGeeks::DevTools::Hash.new.merge(a: { b: { c: 1 } }) }
let(:h2) { PolishGeeks::DevTools::Hash.new.merge(a: { b: { c: 1, d: 1 }, e: 1 }) }
let(:h1) { described_class.new.merge(a: { b: { c: 1 } }) }
let(:h2) { described_class.new.merge(a: { b: { c: 1, d: 1 }, e: 1 }) }

it { expect(subject).to eq(a: { e: [nil, 1], b: { d: [nil, 1] } }) }
end
Expand Down

0 comments on commit 4dc0a61

Please sign in to comment.