Sha256: 8b56f0ac91db53a0a6feba72ec1bbdf99bc17a75e32188422c581c36088730db
Contents?: true
Size: 532 Bytes
Versions: 5
Compression:
Stored size: 532 Bytes
Contents
require 'minitest/autorun' require 'spec_helper' describe "Configuring the stripe engine" do it "reads the api key that is set in the environment" do Stripe.api_base.must_equal 'http://localhost:5000' Stripe.api_key.must_equal 'XYZ' Stripe.verify_ssl_certs.must_equal false end end describe 'initializing plans' do require 'rake' load 'stripe/rails/tasks.rake' it 'creates any plans that do not exist on stripe.com' do Stripe::Plans.expects(:put!) Rake::Task['stripe:plans:prepare'].invoke end end
Version data entries
5 entries across 5 versions & 1 rubygems