Sha256: 2e9c8b7c772baaf8388139563c62468484f5def018838d74f8a21f23e972d301

Contents?: true

Size: 281 Bytes

Versions: 134

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

134 entries across 134 versions & 2 rubygems

Version Path
softcover-0.9.20 spec/utils_spec.rb
softcover-0.9.19 spec/utils_spec.rb
softcover-0.9.18 spec/utils_spec.rb
softcover-0.9.17 spec/utils_spec.rb
softcover-0.9.16 spec/utils_spec.rb
softcover-0.9.15 spec/utils_spec.rb
softcover-0.9.13 spec/utils_spec.rb
softcover-0.9.12 spec/utils_spec.rb
softcover-0.9.11 spec/utils_spec.rb
softcover-0.9.10 spec/utils_spec.rb
softcover-0.9.9 spec/utils_spec.rb
softcover-0.9.8 spec/utils_spec.rb
softcover-0.9.7 spec/utils_spec.rb
softcover-0.9.6 spec/utils_spec.rb