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.10.4 spec/utils_spec.rb
softcover-1.10.3 spec/utils_spec.rb
softcover-1.10.2 spec/utils_spec.rb
softcover-1.10.1 spec/utils_spec.rb
softcover-1.10.0 spec/utils_spec.rb
softcover-1.9.1 spec/utils_spec.rb
softcover-1.9.0 spec/utils_spec.rb
softcover-1.8.3 spec/utils_spec.rb
softcover-1.8.2 spec/utils_spec.rb
softcover-1.8.1 spec/utils_spec.rb
softcover-1.8.0 spec/utils_spec.rb
softcover-1.7.5 spec/utils_spec.rb
softcover-1.7.4 spec/utils_spec.rb
softcover-1.7.3 spec/utils_spec.rb
softcover-1.7.2 spec/utils_spec.rb
softcover-1.7.1 spec/utils_spec.rb
softcover-1.7.0 spec/utils_spec.rb
softcover-1.6.5 spec/utils_spec.rb
softcover-1.6.4 spec/utils_spec.rb
softcover-1.6.3 spec/utils_spec.rb