Skip to content

Commit

Permalink
Use rspec 3.0.0
Browse files Browse the repository at this point in the history
Ran transpec on spec/ directory for automatic and delicious upgrades.

Also removed minitest dependency since fpm doesn't use it.
  • Loading branch information
jordansissel committed Jun 19, 2014
1 parent 17ed25e commit c823a39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions fpm.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
4 changes: 2 additions & 2 deletions spec/fpm/package/rpm_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def subject.render_template; @rpmspec = template("rpm.erb").result(binding); end
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

Expand All @@ -105,7 +105,7 @@ def subject.render_template; @rpmspec = template("rpm.erb").result(binding); end
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
Expand Down

0 comments on commit c823a39

Please sign in to comment.