Sha256: 19a57951f145d0a0a3d22a60cc820caba6ceea0361cf11b74f9d2ba460f0aff0

Contents?: true

Size: 236 Bytes

Versions: 2

Compression:

Stored size: 236 Bytes

Contents

require 'spec_helper'

describe ApplicationHelper do
  describe ".add_tag" do
    it "should generate content for div tag" do
      helper.add_tag(:div, class: 'example') { }.should eq("<div class=\"example\"></div>")
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_extras-0.1.1 spec/helpers/application_helper_spec.rb
rails_extras-0.1.0 spec/helpers/application_helper_spec.rb