Sha256: 723bc60366bff85ff31808d68a217b92e904fbcf8a1928ca53ccdd568739a245

Contents?: true

Size: 290 Bytes

Versions: 3

Compression:

Stored size: 290 Bytes

Contents

require 'spec_helper'

describe Foundation::Rails::Helpers::Alert do
  subject { Foundation::Rails::Helpers::Alert.new }
  it "returns the basic HTML" do
    expect(subject.to_s).to eq "<div class=\"alert-box\" data-alert=\"true\"><a class=\"close\" href=\"#\">&times;</a></div>"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foundation-rails-helpers-0.0.4 spec/alert_spec.rb
foundation-rails-helpers-0.0.3 spec/alert_spec.rb
foundation-rails-helpers-0.0.2 spec/alert_spec.rb