Sha256: 750c045c673a87ce50c015d106b916478fd73c7243e85bfff1c5a5c4463d4a8f

Contents?: true

Size: 499 Bytes

Versions: 5

Compression:

Stored size: 499 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe Parsing::LinkParser do
  before :all do
    @parser = Parsing::LinkParser.new
  end
  
  it 'should parse a "=C2"' do
    @parser.parse("=C2").should_not be nil
  end
  
  it 'should parse a "-C2"' do
    @parser.parse("-C2").should_not be nil
  end
  
  it 'should parse a "~C2"' do
    @parser.parse("~C2").should_not be nil
  end
  
  it 'should parse a "/C2"' do
    @parser.parse("/C2").should_not be nil
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
music-transcription-0.15.0 spec/parsing/link_parsing_spec.rb
music-transcription-0.14.0 spec/parsing/link_parsing_spec.rb
music-transcription-0.13.0 spec/parsing/link_parsing_spec.rb
music-transcription-0.11.0 spec/parsing/link_parsing_spec.rb
music-transcription-0.10.0 spec/parsing/link_parsing_spec.rb