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.4.2 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.4.1 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.3.0 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.2.16 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.2.15 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.2.14 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.2.13 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.2.12 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.2.11 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.2.10 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.2.9 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.2.8 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.2.6 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.2.4 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.2.3 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.2.2 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.2.1 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.2.0 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.52 test/rbbt/sources/test_gscholar.rb
rbbt-sources-3.1.51 test/rbbt/sources/test_gscholar.rb