Skip to content
Browse files

some osxpkg spec tests can still run, not all of them

  • Loading branch information...
1 parent 67547bc commit 51ed6a9f7b92e691ea63ecc56f1b03ad3d0cc10e @timsutton timsutton committed Jan 7, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 spec/fpm/package/osxpkg_spec.rb
View
8 spec/fpm/package/osxpkg_spec.rb
@@ -4,11 +4,11 @@
platform_is_darwin = (%x{uname -s}.chomp == "Darwin")
if !platform_is_darwin
- Cabin::Channel.get("rspec").warn("Skipping OS X pkg tests because " \
- "this system is #{%x{uname -s}.chomp}, Darwin required")
+ Cabin::Channel.get("rspec").warn("Skipping OS X pkg tests requiring 'pkgbuild', " \
+ "which requires a Darwin platform.")
end
-describe FPM::Package::OSXpkg, :if => platform_is_darwin do
+describe FPM::Package::OSXpkg do
describe "#identifier" do
it "should be of the form reverse.domain.pkgname" do
subject.name = "name"
@@ -34,7 +34,7 @@
end
end
- describe "#output" do
+ describe "#output", :if => platform_is_darwin do
before :all do
# output a package, use it as the input, set the subject to that input
# package. This helps ensure that we can write and read packages

0 comments on commit 51ed6a9

Please sign in to comment.
Something went wrong with that request. Please try again.