Sha256: 25710ff7de1bfb5ad3152bf09e952424792cd8e1909a61fb149b187f308b77a4

Contents?: true

Size: 431 Bytes

Versions: 2

Compression:

Stored size: 431 Bytes

Contents

require 'test_helper'

module Sketchily
  describe SketchilyTag do
    before do
      setup_lib_spec
      @view = ActionView::Base.new
    end

    it 'must add methods to ActionView::Base' do
      @view.must_respond_to :sketchily_tag
    end
    
    it 'must show sketchily tag' do
      sketchily_tag = @view.sketchily_tag('drawing', 'svg')
      sketchily_tag.wont_be_nil
      sketchily_tag.wont_be_empty
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sketchily-4.0.1 spec/lib/sketchily/sketchily_tag_spec.rb~
sketchily-4.0.0 spec/lib/sketchily/sketchily_tag_spec.rb~