Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-rock committed May 29, 2016
1 parent 99885b7 commit 04c57ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ AllCops:
- test/**/*
- metadata.rb
- Berksfile
- Guardfile
Documentation:
Enabled: false
AlignParameters:
Expand Down
12 changes: 6 additions & 6 deletions spec/recipes/server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -366,12 +366,12 @@
cached(:chef_run) do
ChefSpec::ServerRunner.new do |_node, server|
server.create_data_bag(
'users',
'user1' => { id: 'user1', ssh_rootkey: 'key-user1' },
'user2' => { id: 'user2', ssh_rootkey: 'key-user2' },
'user3' => { id: 'user3', ssh_rootkeys: %w(key1-user3 key2-user3) },
'user4' => { id: 'user4', ssh_rootkeys: %w(key1-user4) }
)
'users',
'user1' => { id: 'user1', ssh_rootkey: 'key-user1' },
'user2' => { id: 'user2', ssh_rootkey: 'key-user2' },
'user3' => { id: 'user3', ssh_rootkeys: %w(key1-user3 key2-user3) },
'user4' => { id: 'user4', ssh_rootkeys: %w(key1-user4) }
)
end.converge(described_recipe)
end

Expand Down

0 comments on commit 04c57ef

Please sign in to comment.