Sha256: df1cf10f9cacb9b0ec687eff72a459a8003c8d8b1750d8f6f4587b979b38663a

Contents?: true

Size: 612 Bytes

Versions: 15

Compression:

Stored size: 612 Bytes

Contents

require 'spec_helper'

describe 'inherit matcher' do    
  context "content with class that inherits from Greeting" do
    logfile = File.join(fixtures_dir, 'logfile.log')

    it "content should match some lines" do            
      logfile.should have_content do |content|
        content.should match_lines %{By default we are in into log mode\nThis is debugging mode!\nMore info... but still in debugging mode}
        content.should match_lines %{By default we are in into log mode:::This is debugging mode!:::More info... but still in debugging mode}, :separator => ':::'
      end
    end
  end
end





Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
code-spec-0.4.0 spec/code-spec/matchers/match_content_spec.rb
code-spec-0.3.0 spec/code-spec/matchers/match_content_spec.rb
code-spec-0.2.11 spec/code-spec/matchers/match_content_spec.rb
code-spec-0.2.9 spec/code-spec/matchers/match_content_spec.rb
code-spec-0.2.8 spec/code-spec/matchers/match_content_spec.rb
code-spec-0.2.7 spec/code-spec/matchers/match_content_spec.rb
code-spec-0.2.6 spec/code-spec/matchers/match_content_spec.rb
code-spec-0.2.5 spec/code-spec/matchers/match_content_spec.rb
code-spec-0.2.4 spec/code-spec/matchers/match_content_spec.rb
code-spec-0.2.3 spec/code-spec/matchers/match_content_spec.rb
code-spec-0.2.2 spec/code-spec/matchers/match_content_spec.rb
code-spec-0.2.1 spec/code-spec/matchers/match_content_spec.rb
code-spec-0.2.0 spec/code-spec/matchers/match_content_spec.rb
code-spec-0.1.3 spec/code-spec/matchers/match_content_spec.rb
code-spec-0.1.2 spec/code-spec/matchers/match_content_spec.rb