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:
Jordan Sissel 2014-06-19 05:32:11 +00:00
parent c5a2ad35d4
commit d3e72d36f5
2 changed files with 3 additions and 4 deletions

View File

@ -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")

View File

@ -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