Sha256: c6803c730d3d230194b546f8e67014e81c66550ef782a6f0e51a7139ae50d3e8

Contents?: true

Size: 329 Bytes

Versions: 11

Compression:

Stored size: 329 Bytes

Contents

require 'spec_helper'

describe ApisController do
  include Rack::Test::Methods

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

  describe 'the apis interface' do
    subject { get '/apis/' }

    it { _(subject).must_be :ok? }
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
stripe-rails-2.6.0 test/dummy_apis_controller_spec.rb
stripe-rails-2.5.0 test/dummy_apis_controller_spec.rb
stripe-rails-2.4.0 test/dummy_apis_controller_spec.rb
stripe-rails-2.3.5 test/dummy_apis_controller_spec.rb
stripe-rails-2.3.4 test/dummy_apis_controller_spec.rb
stripe-rails-2.3.3 test/dummy_apis_controller_spec.rb
stripe-rails-2.3.2 test/dummy_apis_controller_spec.rb
stripe-rails-2.3.1 test/dummy_apis_controller_spec.rb
stripe-rails-2.3.0 test/dummy_apis_controller_spec.rb
stripe-rails-2.2.1 test/dummy_apis_controller_spec.rb
stripe-rails-2.2.0 test/dummy_apis_controller_spec.rb