Sha256: 897f4f4a212927f9b2d98afc1934049d3b797e958e86e9253a44138204207c84

Contents?: true

Size: 476 Bytes

Versions: 101

Compression:

Stored size: 476 Bytes

Contents

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

require 'rbbt/sources/gscholar'
require 'test/unit'

class TestGScholar < Test::Unit::TestCase
  def test_citation
    assert_match /cites/, GoogleScholar.citation_link("Ten Years of Pathway Analysis: Current Approaches and Outstanding Challenges").to_s
    assert_match /\d+/, GoogleScholar.number_cites("Ten Years of Pathway Analysis: Current Approaches and Outstanding Challenges").to_s
  end

end


Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
rbbt-sources-3.1.50 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.49 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.48 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.47 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.46 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.45 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.43 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.42 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.41 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.40 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.39 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.38 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.37 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.36 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.35 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.34 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.33 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.32 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.30 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.29 test/rbbt/sources/test_gscholar.rb