Sha256: 040d148f638dfcaf1d665575b09351fcf8b998e112ba736979e736b9eefaeb14

Contents?: true

Size: 551 Bytes

Versions: 33

Compression:

Stored size: 551 Bytes

Contents

require 'spec_helper'

class DummyStripesControllerSpec < ApplicationSystemTestCase
  setup do
    Dummy::Application.configure do
      config.stripe.publishable_key = 'pk_test_XXXYYYZZZ'
    end
  end

  test "loading the default javascript helper" do
    visit new_stripe_url
    assert_text 'This page tests the loading and initialization of Stripe JS'
  end

  test "loading the v2 version of the javascript helper" do
    visit new_stripe_url(version: 'v2')
    assert_text 'This page tests the loading and initialization of Stripe JS'
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
stripe-rails-2.6.0 test/dummy_stripes_controller_spec.rb
stripe-rails-2.5.0 test/dummy_stripes_controller_spec.rb
stripe-rails-2.4.0 test/dummy_stripes_controller_spec.rb
stripe-rails-2.3.5 test/dummy_stripes_controller_spec.rb
stripe-rails-2.3.4 test/dummy_stripes_controller_spec.rb
stripe-rails-2.3.3 test/dummy_stripes_controller_spec.rb
stripe-rails-2.3.2 test/dummy_stripes_controller_spec.rb
stripe-rails-2.3.1 test/dummy_stripes_controller_spec.rb
stripe-rails-2.3.0 test/dummy_stripes_controller_spec.rb
stripe-rails-2.2.1 test/dummy_stripes_controller_spec.rb
stripe-rails-2.2.0 test/dummy_stripes_controller_spec.rb
stripe-rails-2.1.0 test/dummy_stripes_controller_spec.rb
stripe-rails-2.0.0 test/dummy_stripes_controller_spec.rb
stripe-rails-1.10.2 test/dummy_stripes_controller_spec.rb
stripe-rails-2.0.0.pre test/dummy_stripes_controller_spec.rb
stripe-rails-1.10.1 test/dummy_stripes_controller_spec.rb
stripe-rails-1.10.0 test/dummy_stripes_controller_spec.rb
stripe-rails-1.9.1 test/dummy_stripes_controller_spec.rb
stripe-rails-1.9.0 test/dummy_stripes_controller_spec.rb
stripe-rails-1.8.2 test/dummy_stripes_controller_spec.rb