Sha256: a2326f5901e03434e9f7e2b28ca4a7871144421152c242c781fb7760bfe866ff

Contents?: true

Size: 317 Bytes

Versions: 37

Compression:

Stored size: 317 Bytes

Contents

require 'spec_helper'

describe Iugu::PricingController do
  login_as_user
  describe "unless iws_api_key" do
    before do
      IuguSDK::iws_api_key = nil
    end
    it 'should raise routing error' do
      lambda {
        get :index
      }.should raise_error ActionController::RoutingError
    end
  end
  
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
iugusdk-1.0.11 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.10 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.9 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.8 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.7 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.6 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.5 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.4 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.3 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.2 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.1 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.32 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.31 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.30 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.29 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.28 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.27 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.26 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.25 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.24 spec/controllers/pricing_controller_spec.rb