Sha256: 0525e5cc66f872f4d111135aeafff779f028e381562dd11a8cf3c0cf97c270c8

Contents?: true

Size: 341 Bytes

Versions: 7

Compression:

Stored size: 341 Bytes

Contents

require 'spec_helper'

describe Stripe::PingsController do
  include Rack::Test::Methods

  let(:app) { Rails.application }
  before do
    header 'Accept', 'application/json'
    header 'Content-Type', 'application/json'
  end

  describe 'the ping interface' do
    subject { get '/stripe/ping' }

    it { subject.must_be :ok? }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
stripe-rails-1.2.2 test/pings_controller_spec.rb
stripe-rails-1.2.1 test/pings_controller_spec.rb
stripe-rails-1.2.0 test/pings_controller_spec.rb
stripe-rails-1.1.2 test/pings_controller_spec.rb
stripe-rails-1.1.1 test/pings_controller_spec.rb
stripe-rails-1.1.0 test/pings_controller_spec.rb
stripe-rails-1.0.2 test/pings_controller_spec.rb