Skip to content

Commit

Permalink
Fix Rake warning in CI (#897)
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Jan 21, 2021
1 parent 4edc462 commit da6cd97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions draper.gemspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.join(__dir__, "lib", "draper", "version")
require_relative 'lib/draper/version'

Gem::Specification.new do |s|
s.name = "draper"
Expand All @@ -12,7 +12,6 @@ Gem::Specification.new do |s|

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]

s.required_ruby_version = '>= 2.2.2'
Expand Down
2 changes: 1 addition & 1 deletion spec/draper/decorator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ def hello_world
decorator = decorator_class.new(object)

# `print` private method is defined on `Object`
expect{ decorator.print }.not_to raise_error NoMethodError
expect{ decorator.print }.not_to raise_error
end
end
end
Expand Down

0 comments on commit da6cd97

Please sign in to comment.