Sha256: 7fd61d8255ff6039198dd7237ba96fc51d949841a0e217e0f02f15e946eb4466

Contents?: true

Size: 439 Bytes

Versions: 3

Compression:

Stored size: 439 Bytes

Contents

# -*- coding: utf-8 -*-
require File.expand_path('../../test_helper', __FILE__)

module Peakium
  class SubmissionFormTest < Test::Unit::TestCase
    should "create should return a new submission form" do
      @mock.expects(:post).once.returns(test_response(test_submission_form))
      sf = Peakium::SubmissionForm.build('create_subscription', {:customer => "test_customer"})
      assert_equal "<form></form>", sf.html
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
peakium-0.1.4 test/peakium/submission_form_test.rb
peakium-0.1.3 test/peakium/submission_form_test.rb
peakium-0.1.2 test/peakium/submission_form_test.rb