test/joint/test_io.rb in joint-0.5.4 vs test/joint/test_io.rb in joint-0.5.5
- old
+ new
@@ -5,11 +5,11 @@
should "set attributes from hash" do
Joint::IO.new(:name => 'foo').name.should == 'foo'
end
end
- should "default content_type to plain text" do
- Joint::IO.new.content_type.should == 'plain/text'
+ should "default type to plain text" do
+ Joint::IO.new.type.should == 'plain/text'
end
should "default size to content size" do
content = 'This is my content'
Joint::IO.new(:content => content).size.should == content.size
\ No newline at end of file