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.0.alpha.23 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.22 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.21 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.20 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.19 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.18 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.17 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.16 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.14 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.13 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.12 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.11 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.10 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.9 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.7 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.5 spec/controllers/pricing_controller_spec.rb
iugusdk-1.0.0.alpha.4 spec/controllers/pricing_controller_spec.rb