Sha256: dd31523380537a6644c999e34710d4aee4e2cd7e1e441b0924a0071352d1f582

Contents?: true

Size: 344 Bytes

Versions: 8

Compression:

Stored size: 344 Bytes

Contents

require "spec_helper"

describe ShareChecker::Providers::Odnoklassniki do
  before(:each) do
    @provider = ShareChecker.provider("odnoklassniki", "http://www.google.com.ua/")
  end
  
  it "should parse response from odnoklassniki" do
    response = "ODKL.updateCount('odklcnt0','147');"
    @provider.parse(response).should == 147
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
share_checker-0.1.7 spec/providers/odnoklassniki_spec.rb
share_checker-0.1.6 spec/providers/odnoklassniki_spec.rb
share_checker-0.1.5 spec/providers/odnoklassniki_spec.rb
share_checker-0.1.4 spec/providers/odnoklassniki_spec.rb
share_checker-0.1.3 spec/providers/odnoklassniki_spec.rb
share_checker-0.1.2 spec/providers/odnoklassniki_spec.rb
share_checker-0.1.1 spec/providers/odnoklassniki_spec.rb
share_checker-0.1.0 spec/providers/odnoklassniki_spec.rb