Skip to content

Commit

Permalink
fix rubocop spec offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
zapnap committed Aug 19, 2015
1 parent cfbf836 commit 684346c
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions spec/rails_admin/support/hash_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@
require 'spec_helper'

describe RailsAdmin::HashHelper do
let(:hash) {
{ 'subject' => 'Test',
'user' => { name: 'Dirk',
'title' => 'Holistic Detective',
'clients' => [
{ name: 'Zaphod' },
{ 'name' => 'Arthur' }
]
}}}
let(:hash) do
{'subject' => 'Test',
'user' => {name: 'Dirk',
'title' => 'Holistic Detective',
'clients' => [
{name: 'Zaphod'},
{'name' => 'Arthur'}]}}
end

describe 'symbolize' do
let(:symbolized_hash) { RailsAdmin::HashHelper.symbolize(hash) }
Expand Down

0 comments on commit 684346c

Please sign in to comment.