From 30b6ca62707afa849bdd68c1a40778cec023fc9a Mon Sep 17 00:00:00 2001 From: Kyle Banker Date: Tue, 30 Mar 2010 13:51:05 -0400 Subject: [PATCH] minor: better test names --- test/grid_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/grid_test.rb b/test/grid_test.rb index 1467fcb..b9c86bc 100644 --- a/test/grid_test.rb +++ b/test/grid_test.rb @@ -53,7 +53,7 @@ class GridTest < Test::Unit::TestCase @metadata = {'app' => 'photos'} end - should "store the file without a filename" do + should "store the file with the old filename api" do id = @grid.put(@data, 'sample', :metadata => @metadata) file = @grid.get(id) assert_equal 'sample', file.filename @@ -67,7 +67,7 @@ class GridTest < Test::Unit::TestCase assert_equal @metadata, file.metadata end - should "store with filename and metadata" do + should "store with filename and metadata with the new api" do id = @grid.put(@data, :filename => 'sample', :metadata => @metadata) file = @grid.get(id) assert_equal 'sample', file.filename