Sha256: 51634e23493edbb7cdd87318b6b18183b2a904b6b62a9a2e1d7af478ba8df569

Contents?: true

Size: 316 Bytes

Versions: 23

Compression:

Stored size: 316 Bytes

Contents

require 'spec_helper'

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

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
softcover-0.9.5 spec/utils_spec.rb
softcover-0.9.4 spec/utils_spec.rb
softcover-0.9.3 spec/utils_spec.rb
softcover-0.9.2 spec/utils_spec.rb
softcover-0.9.1 spec/utils_spec.rb
softcover-0.9.0 spec/utils_spec.rb
softcover-0.8.9 spec/utils_spec.rb
softcover-0.8.8 spec/utils_spec.rb
softcover-0.8.7 spec/utils_spec.rb
softcover-0.8.6 spec/utils_spec.rb
softcover-0.8.5 spec/utils_spec.rb
softcover-0.8.4 spec/utils_spec.rb
softcover-0.8.3 spec/utils_spec.rb
softcover-0.8.2 spec/utils_spec.rb
softcover-0.8.1 spec/utils_spec.rb
softcover-0.8.0 spec/utils_spec.rb
softcover-0.7.11 spec/utils_spec.rb
softcover-0.7.10 spec/utils_spec.rb
softcover-0.7.9 spec/utils_spec.rb
softcover-0.7.8 spec/utils_spec.rb