Sha256: 722b341d0fa8b5ce10a0da4926eeb75d38dbbdd6d67b5a0c9cbdc659bad4b2cd

Contents?: true

Size: 520 Bytes

Versions: 8

Compression:

Stored size: 520 Bytes

Contents

require 'spec_helper'

describe Nokaya::Getter do
  describe "#args" do
    it 'shows the args' do
      obj = Nokaya::Getter.new({}, :instagram, ['http://instagram.com/p/nlUKF9TYEs/'])
      expect(obj.args).to eq '#<OpenStruct options={}, type=:instagram, url="http://instagram.com/p/nlUKF9TYEs/">'
    end
  end
  # describe "#get_page" do
  #   it 'gets the page' do
  #     obj = Nokaya::Getter.new({}, :instagram, ['http://instagram.com/p/nlUKF9TYEs/'])
  #     expect(obj.get_page).to eq ''
  #   end
  # end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
nokaya-0.0.8 spec/nokaya_spec.rb
nokaya-0.0.7 spec/nokaya_spec.rb
nokaya-0.0.6 spec/nokaya_spec.rb
nokaya-0.0.5 spec/nokaya_spec.rb
nokaya-0.0.4 spec/nokaya_spec.rb
nokaya-0.0.3 spec/nokaya_spec.rb
nokaya-0.0.2 spec/nokaya_spec.rb
nokaya-0.0.1 spec/nokaya_spec.rb