spec/sugar-high/blank_spec.rb in sugar-high-0.6.3 vs spec/sugar-high/blank_spec.rb in sugar-high-0.7.0
- old
+ new
@@ -1,17 +1,17 @@
require 'spec_helper'
require 'sugar-high/blank'
describe "SugarHigh" do
describe "Blank ext" do
- describe '#blank' do
+ describe '#blank' do
it "nil and empty string should be blank" do
nil.blank?.should be_true
''.blank?.should be_true
end
end
-
- describe '#empty' do
+
+ describe '#empty' do
it "nil and empty string should be empty" do
nil.empty?.should be_true
''.empty?.should be_true
end
end