Sha256: 8eb05d1db431c26a7af5396f8b671e536d35d107c8f489bf6258d665383288ee

Contents?: true

Size: 327 Bytes

Versions: 9

Compression:

Stored size: 327 Bytes

Contents

# frozen_string_literal: true

require "rails_helper"

module Archangel
  RSpec.describe "WYSIWYG custom input for simple_form", type: :input do
    before do
      concat input_for(:foo, :input_field, as: :wysiwyg)
    end

    it "applies class to field" do
      assert_select "textarea.wysiwyg", count: 1
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
archangel-0.4.0 spec/unit/inputs/archangel/wysiwyg_input_spec.rb
archangel-0.3.0 spec/inputs/archangel/wysiwyg_input_spec.rb
archangel-0.0.8 spec/inputs/archangel/wysiwyg_input_spec.rb
archangel-0.0.7 spec/inputs/archangel/wysiwyg_input_spec.rb
archangel-0.0.6 spec/inputs/archangel/wysiwyg_input_spec.rb
archangel-0.0.5 spec/inputs/archangel/wysiwyg_input_spec.rb
archangel-0.0.4 spec/inputs/archangel/wysiwyg_input_spec.rb
archangel-0.0.3 spec/inputs/archangel/wysiwyg_input_spec.rb
archangel-0.0.2 spec/inputs/archangel/wysiwyg_input_spec.rb