require 'spec_helper'

describe Bigcommerce::Redirect do
  before(:each) { @redirect = Bigcommerce::Redirect }

  describe '.count' do
    it 'should hit the correct path' do
      expect(@redirect).to receive(:get).with('redirects/count')
      @redirect.count
    end
  end
end
