Skip to content

Commit

Permalink
use default rake task (#1207)
Browse files Browse the repository at this point in the history
* use default rake task

* fix rubocop error with rubocop --auto-correct
  • Loading branch information
stephengroat authored and vbrazo committed May 15, 2018
1 parent 4482309 commit cc15d17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rvm:
- 2.3.4
- 2.4.1
- ruby-head
script: bundle exec rake test
script: bundle exec rake
matrix:
allow_failures:
- rvm: ruby-head
2 changes: 1 addition & 1 deletion lib/faker/internet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def url(host = domain_name, path = "/#{user_name}", scheme = 'http')

def slug(words = nil, glue = nil)
glue ||= sample(%w[- _ .])
(words || Faker::Lorem::words(2).join(' ')).delete(',.').gsub(' ', glue).downcase
(words || Faker::Lorem.words(2).join(' ')).delete(',.').gsub(' ', glue).downcase
end

def device_token
Expand Down

0 comments on commit cc15d17

Please sign in to comment.