Sha256: f7d793e87806b6c70c4fb4831282322e4371ad52c12d65a692c49ca6316b9872

Contents?: true

Size: 330 Bytes

Versions: 3

Compression:

Stored size: 330 Bytes

Contents

require 'spec_helper'

describe Arbo::HTML::ClassList do

  describe ".build_from_string" do

    it "should build a new list from a string of classes" do
      list = Arbo::HTML::ClassList.build_from_string("first second")
      expect(list.size).to eq(2)

      expect(list).to match_array(%w{first second})
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
arbo-1.3.1 spec/arbo/unit/html/class_list_spec.rb
arbo-1.3.0 spec/arbo/unit/html/class_list_spec.rb
arbo-1.2.0 spec/arbo/unit/html/class_list_spec.rb