adding first tiny zoomifier helper skeleton

This commit is contained in:
Donald Ball 2008-11-21 18:05:53 -06:00
parent d192d862b1
commit 06d61248ea
2 changed files with 22 additions and 0 deletions

6
lib/zoomifier_helper.rb Normal file
View File

@ -0,0 +1,6 @@
module Zoomifier
module ViewHelpers
def zoomify_image_tag
end
end
end

View File

@ -0,0 +1,16 @@
require File.dirname(__FILE__) + '/spec_helper'
require 'zoomifier_helper'
class MockActionView
include Zoomifier::ViewHelpers
end
describe Zoomifier::ViewHelpers do
before(:each) do
@view = MockActionView.new
end
it "should respond to zoomify_image_tag" do
@view.should respond_to(:zoomify_image_tag)
end
end