Sha256: c92c774a0afd4582aff071330275b19f30ec1abdfdae0d8f3795f06fcc2d9576

Contents?: true

Size: 555 Bytes

Versions: 2

Compression:

Stored size: 555 Bytes

Contents

require 'helper'

describe Yotpo::Reminder do
  describe Yotpo::Product do
    describe '#send_test_reminder' do
      before(:all) do
        request ={
            email: 'vlad@yotpo.com',
            utoken: @utoken,
            app_key: @app_key
        }
        VCR.use_cassette('send_test_reminder') do
          @response = Yotpo.send_test_reminder(request)
        end
      end
      subject { @response.body }
      it { should be_a ::Hashie::Rash }
      it { should respond_to :code }
      it { should respond_to :message }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yotpo-0.0.10 spec/api/reminder_spec.rb
yotpo-0.0.9 spec/api/reminder_spec.rb