Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Rake warning in CI #897

Merged
merged 3 commits into from
Jan 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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