Skip to content

Commit

Permalink
Fix rubocop issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Lambert committed Mar 4, 2017
1 parent b86d522 commit b033c20
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ Metrics/ClassLength:
Metrics/MethodLength:
Enabled: false

Metrics/BlockLength:
Exclude:
- "**/*_spec.rb"

Metrics/ParameterLists:
Max: 5
CountKeywordArgs: false
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source 'https://rubygems.org'

gem 'rake'
gem 'byebug'
gem 'rake'
gem 'rubocop'
gem 'yard'

Expand Down
3 changes: 2 additions & 1 deletion spec/pagination_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@

it 'should send query parameters in each page request' do
VCR.use_cassette 'pagination_with_query_params' do
users, = client.list_users_assigned_to_application(PAGED_APPS_APP_ID, paginate: true, query: {expand: 'user', limit: '1'})
users, = client.list_users_assigned_to_application(PAGED_APPS_APP_ID,
paginate: true, query: { expand: 'user', limit: '1' })
users.each do |user|
expect(user._embedded).not_to be_nil, "User #{user.id} was expected to have expanded user profile in _embedded"
end
Expand Down

0 comments on commit b033c20

Please sign in to comment.