X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=spec%2Funit%2Fsymbol_spec.rb;fp=spec%2Funit%2Fsymbol_spec.rb;h=ae600fe55b6f07c55b4094a664fcc61ebc2ac9ba;hb=b87d2f4e68281062df1913440ca5753ae63314a9;hp=0000000000000000000000000000000000000000;hpb=ab0ea530b8ac956091f17b104ab2311336cfc250;p=packages%2Fprecise%2Fmcollective.git diff --git a/spec/unit/symbol_spec.rb b/spec/unit/symbol_spec.rb new file mode 100755 index 0000000..ae600fe --- /dev/null +++ b/spec/unit/symbol_spec.rb @@ -0,0 +1,11 @@ +#!/usr/bin/env rspec + +require 'spec_helper' + +class Symbol + describe "#<=>" do + it "should be sortable" do + [:foo, :bar].sort.should == [:bar, :foo] + end + end +end