Sha256: 08d392c7877c3857dc4623356d9414ab9456a2c206fdbb21841a87ab7dcb7112

Contents?: true

Size: 396 Bytes

Versions: 2

Compression:

Stored size: 396 Bytes

Contents

require 'test_helper'

module Sketchily
  describe SketchilyTag do
    before do
      setup_lib_spec
    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