spec/formatter_spec.rb in table_print-1.1.3 vs spec/formatter_spec.rb in table_print-1.1.4
- old
+ new
@@ -59,19 +59,6 @@
it "turns objects into strings before trying to format them" do
@f.format(123).should == "123 "
end
end
-
- describe "#width" do
- it "returns the width" do
- @f.width.should == 10
- end
-
- it "respects the config'd max_width" do
- max = TablePrint::Config.max_width
- TablePrint::Config.max_width = 5
- @f.width.should == 5
- TablePrint::Config.max_width = max
- end
- end
end