Use rspec 3.0.0
Ran transpec on spec/ directory for automatic and delicious upgrades. Also removed minitest dependency since fpm doesn't use it.
This commit is contained in:
parent
c5a2ad35d4
commit
d3e72d36f5
|
|
@ -43,9 +43,8 @@ Gem::Specification.new do |spec|
|
|||
# For calling functions in dynamic libraries
|
||||
spec.add_dependency("ffi") # license: GPL3/LGPL3
|
||||
|
||||
spec.add_development_dependency("rspec") # license: MIT (according to wikipedia)
|
||||
spec.add_development_dependency("rspec", "~> 3.0.0") # license: MIT (according to wikipedia)
|
||||
spec.add_development_dependency("insist", "~> 0.0.5") # license: ???
|
||||
spec.add_development_dependency("minitest")
|
||||
spec.add_development_dependency("pry")
|
||||
spec.add_development_dependency("stud")
|
||||
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ describe FPM::Package::RPM do
|
|||
end
|
||||
|
||||
it "should set the user and group of each file in the RPM" do
|
||||
subject.rpmspec.should include('%defattr(-,root,root,-')
|
||||
expect(subject.rpmspec).to include('%defattr(-,root,root,-')
|
||||
end
|
||||
end # context
|
||||
|
||||
|
|
@ -105,7 +105,7 @@ describe FPM::Package::RPM do
|
|||
end
|
||||
|
||||
it "should set the user and group of each file in the RPM" do
|
||||
subject.rpmspec.should include('%defattr(-,some_user,some_group,-')
|
||||
expect(subject.rpmspec).to include('%defattr(-,some_user,some_group,-')
|
||||
end
|
||||
end # context
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue