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-1.8.1 test/dummy_stripes_controller_spec.rb
stripe-rails-1.8.0 test/dummy_stripes_controller_spec.rb
stripe-rails-1.7.2 test/dummy_stripes_controller_spec.rb
stripe-rails-1.7.1 test/dummy_stripes_controller_spec.rb
stripe-rails-1.7.0 test/dummy_stripes_controller_spec.rb
stripe-rails-1.6.1 test/dummy_stripes_controller_spec.rb
stripe-rails-1.6.0 test/dummy_stripes_controller_spec.rb
stripe-rails-1.5.5 test/dummy_stripes_controller_spec.rb
stripe-rails-1.5.4 test/dummy_stripes_controller_spec.rb
stripe-rails-1.5.3 test/dummy_stripes_controller_spec.rb
stripe-rails-1.5.2 test/dummy_stripes_controller_spec.rb
stripe-rails-1.5.1 test/dummy_stripes_controller_spec.rb
stripe-rails-1.5.0 test/dummy_stripes_controller_spec.rb