"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "spec/fpm/package/empty_spec.rb" between
fpm-1.13.1.tar.gz and fpm-1.14.0.tar.gz

About: fpm tries to make it easy and quick to build packages such as rpms, debs, OSX packages, etc.

empty_spec.rb  (fpm-1.13.1):empty_spec.rb  (fpm-1.14.0)
skipping to change at line 20 skipping to change at line 20
subject.iteration = "100" subject.iteration = "100"
subject.epoch = "5" subject.epoch = "5"
end end
it "should always return the empty string" do it "should always return the empty string" do
expect(subject.to_s "NAME-VERSION-ITERATION.ARCH.TYPE").to(be == "") expect(subject.to_s "NAME-VERSION-ITERATION.ARCH.TYPE").to(be == "")
expect(subject.to_s "gobbledegook").to(be == "") expect(subject.to_s "gobbledegook").to(be == "")
expect(subject.to_s "").to(be == "") expect(subject.to_s "").to(be == "")
expect(subject.to_s nil).to(be == "") expect(subject.to_s nil).to(be == "")
end end
end # describe to_s end # describe to_s
describe "#architecture" do
it "should default to 'all'" do
insist { subject.architecture } == "all"
end
it "should accept changing the architecture" do
subject.architecture = "native"
insist { subject.architecture } == "native"
end
end
end # describe FPM::Package::Empty end # describe FPM::Package::Empty
 End of changes. 1 change blocks. 
0 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)