Sha256: a545205e512742ec9af2bff2bc0dbf13874ca93d42c71babe03af9a5c7b0cedc

Contents?: true

Size: 447 Bytes

Versions: 3

Compression:

Stored size: 447 Bytes

Contents

require "spec_helper"

describe Docks::Tags::Name do
  subject { Docks::Tags::Name.instance }

  it "does not allow multiline content" do
    expect(subject.multiline?).to be false
  end

  it "only allows one tag per block" do
    expect(subject.multiple_allowed?).to be false
  end

  describe "#process" do
    it "does not perform any processing" do
      content = "foo"
      expect(subject.process(content)).to eq content
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
docks_app-0.0.3 spec/lib/tags/name_tag_spec.rb
docks_app-0.0.2 spec/lib/tags/name_tag_spec.rb
docks_app-0.0.1 spec/lib/tags/name_tag_spec.rb