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.6.2 spec/utils_spec.rb
softcover-1.6.1 spec/utils_spec.rb
softcover-1.6.0 spec/utils_spec.rb
softcover-1.5.11 spec/utils_spec.rb
softcover-1.5.10 spec/utils_spec.rb
softcover-1.5.9 spec/utils_spec.rb
softcover-1.5.8 spec/utils_spec.rb
softcover-1.5.7 spec/utils_spec.rb
softcover-1.5.6 spec/utils_spec.rb
softcover-1.5.5 spec/utils_spec.rb
softcover-1.5.4 spec/utils_spec.rb
softcover-1.5.3 spec/utils_spec.rb
softcover-1.5.2 spec/utils_spec.rb
softcover-1.5.1 spec/utils_spec.rb
softcover-1.5.0 spec/utils_spec.rb
softcover-1.4.9 spec/utils_spec.rb
softcover-1.4.8 spec/utils_spec.rb
softcover-1.4.7 spec/utils_spec.rb
softcover-1.4.6 spec/utils_spec.rb
softcover-1.4.5 spec/utils_spec.rb