Sha256: a2890121ac4c97b22e664dd6dfa44217b9d90b4707626fa78bf47f8e2a95dd6d

Contents?: true

Size: 275 Bytes

Versions: 4

Compression:

Stored size: 275 Bytes

Contents

require "spec_helper"

describe Brief::Line do
  let(:heading1) { Brief::Line.new("# sup?", 1, false) }
  let(:heading2) { Brief::Line.new("##sup?", 2, false) }

  it "should set the level" do
    expect(heading1.level).to eq(1)
    expect(heading2.level).to eq(2)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
brief-0.0.5 spec/lib/brief/line_spec.rb
brief-0.0.4 spec/lib/brief/line_spec.rb
brief-0.0.3 spec/lib/brief/line_spec.rb
brief-0.0.2 spec/lib/brief/line_spec.rb