Sha256: 1f8ccd084bddd5aeb01ecfb8af451440e1932db7445fd1447ba0d7f1f661824d
Contents?: true
Size: 538 Bytes
Versions: 3
Compression:
Stored size: 538 Bytes
Contents
require 'spec_helper' require 'todos_export/github_issues' describe TodosExport::GithubIssues do subject do main = TodosExport::Main.new('./') main.find_exportables s = TodosExport::GithubIssues.new(main) s.remote_repo = 'my_repo' s end it '#github_line_url' do match = Regexp.escape("https://github.com/my_repo/blob/") + "[0-9a-f]{5,40}" + Regexp.escape("/spec/resources/ruby_file_with_todos.rb#L2") subject.github_line_url('spec/resources/ruby_file_with_todos.rb', 2).should =~ /#{match}/ end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
todos_export-0.3.1 | spec/lib/todos_export/github_isses_spec.rb |
todos_export-0.3.0 | spec/lib/todos_export/github_isses_spec.rb |
todos_export-0.2.0 | spec/lib/todos_export/github_isses_spec.rb |