Skip to content

Commit

Permalink
Replace base64 inline data with world's smallest gif data
Browse files Browse the repository at this point in the history
  • Loading branch information
dball committed Jan 11, 2011
1 parent 7b7a463 commit 109ea3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_data_uri.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
describe "a valid data URI" do

before do
@base64 = "R0lGODlhEAAOALMAAOazToeHh0tLS/7LZv/0jvb29t/f3//Ub//ge8WSLf/rhf/3kdbW1mxsbP//mf///yH5BAAAAAAALAAAAAAQAA4AAARe8L1Ekyky67QZ1hLnjM5UUde0ECwLJoExKcppV0aCcGCmTIHEIUEqjgaORCMxIC6e0CcguWw6aFjsVMkkIr7g77ZKPJjPZqIyd7sJAgVGoEGv2xsBxqNgYPj/gAwXEQA7"
@base64 = "R0lGODlhAQABAIABAAAAAP///yH5BAEAAAEALAAAAAABAAEAQAICTAEAOw=="
@uri = URI.parse("data:image/gif;base64,#{@base64}")
end

Expand Down

0 comments on commit 109ea3a

Please sign in to comment.