Sha256: 2e9c8b7c772baaf8388139563c62468484f5def018838d74f8a21f23e972d301

Contents?: true

Size: 281 Bytes

Versions: 133

Compression:

Stored size: 281 Bytes

Contents

require 'spec_helper'

describe Softcover::Utils do
  context "book_file_lines" do
    let(:raw_lines) { ['foo.md', '# bar.tex'] }
    subject { Softcover::Utils.non_comment_lines(raw_lines) }
    it { should     include 'foo.md' }
    it { should_not include 'bar.tex' }
  end
end

Version data entries

133 entries across 133 versions & 2 rubygems

Version Path
softcover-1.4.3 spec/utils_spec.rb
softcover-1.4.2 spec/utils_spec.rb
softcover-1.4.1 spec/utils_spec.rb
softcover-1.4.0 spec/utils_spec.rb
softcover-1.3.4 spec/utils_spec.rb
softcover-1.3.3 spec/utils_spec.rb
softcover-1.3.2 spec/utils_spec.rb
softcover-1.3.1 spec/utils_spec.rb
softcover-1.3.0 spec/utils_spec.rb
softcover-1.2.15 spec/utils_spec.rb
softcover-1.2.14 spec/utils_spec.rb
softcover-1.2.13 spec/utils_spec.rb
softcover-1.2.12 spec/utils_spec.rb
softcover-1.2.11 spec/utils_spec.rb
softcover-1.2.10 spec/utils_spec.rb
softcover-1.2.9 spec/utils_spec.rb
softcover-1.2.8 spec/utils_spec.rb
softcover-1.2.7 spec/utils_spec.rb
softcover-1.2.6 spec/utils_spec.rb
softcover-1.2.5 spec/utils_spec.rb