Sha256: dbf3e35aebc2d568b09c049a28c7247c2a1a8c73df23fd85656817002a0aa54e

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 Bytes

Contents

require 'test_helper'

module MethodDraw
  describe MethodDrawTag do
    before do
      setup_lib_spec
    end

    it 'must add methods to ActionView::Base' do
      @view.must_respond_to :method_draw_tag
    end

    it 'must show method_draw tag' do
      method_draw_tag = @view.method_draw_tag('drawing', 'svg')
      method_draw_tag.wont_be_nil
      method_draw_tag.wont_be_empty
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
method_draw-0.0.1 spec/lib/method_draw/method_draw_tag_spec.rb