mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
Fix Rake warning in CI (#897)
This commit is contained in:
parent
4edc462b61
commit
da6cd976ef
2 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
require File.join(__dir__, "lib", "draper", "version")
|
||||
require_relative 'lib/draper/version'
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "draper"
|
||||
|
@ -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'
|
||||
|
|
|
@ -693,7 +693,7 @@ module Draper
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue