Sha256: 4995a2cae0c94c4ab4195aaa038536dca566a829b23d6e602ee548f05b570119

Contents?: true

Size: 626 Bytes

Versions: 1

Compression:

Stored size: 626 Bytes

Contents

require_relative '../spec_helper'

describe Ravelry::Needles do
  context '#sizes' do
    it 'should return an array of needles' do
      result = Ravelry::Needles.sizes
      expect(result.first).to be_instance_of(Ravelry::Needle)
    end
  end

  context '#types' do
    it 'should return an array of needles' do
      result = Ravelry::Needles.types
      expect(result.first).to be_instance_of(Ravelry::Needle)
    end
  end

  context '#list' do
    it 'should return an array of needles' do
      result = Ravelry::Needles.list("feministy")
      expect(result.first).to be_instance_of(Ravelry::Needle)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ravelry-0.0.6 spec/ravelry/needles_spec.rb