pagseguro 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.rspec +1 -0
 - data/Gemfile +8 -0
 - data/Gemfile.lock +104 -0
 - data/README.markdown +212 -0
 - data/Rakefile +25 -0
 - data/lib/pagseguro.rb +66 -0
 - data/lib/pagseguro/action_controller.rb +11 -0
 - data/lib/pagseguro/developer_controller.rb +26 -0
 - data/lib/pagseguro/generator.rb +12 -0
 - data/lib/pagseguro/helper.rb +8 -0
 - data/lib/pagseguro/notification.rb +192 -0
 - data/lib/pagseguro/order.rb +73 -0
 - data/lib/pagseguro/railtie.rb +23 -0
 - data/lib/pagseguro/rake.rb +96 -0
 - data/lib/pagseguro/routes.rb +4 -0
 - data/lib/pagseguro/version.rb +8 -0
 - data/lib/pagseguro/views/_form.html.erb +21 -0
 - data/lib/tasks/pagseguro.rake +6 -0
 - data/pagseguro.gemspec +95 -0
 - data/spec/controllers/developer_controller_spec.rb +26 -0
 - data/spec/helpers/helper_spec.rb +80 -0
 - data/spec/pagseguro/notification_spec.rb +336 -0
 - data/spec/pagseguro/order_spec.rb +79 -0
 - data/spec/pagseguro/pagseguro_spec.rb +48 -0
 - data/spec/pagseguro/rake_spec.rb +134 -0
 - data/spec/spec_helper.rb +10 -0
 - data/spec/support/app/controllers/application_controller.rb +2 -0
 - data/spec/support/app/models/account.rb +2 -0
 - data/spec/support/app/models/user.rb +3 -0
 - data/spec/support/app/views/dashboard/index.erb +0 -0
 - data/spec/support/app/views/session/new.erb +0 -0
 - data/spec/support/config/boot.rb +14 -0
 - data/spec/support/config/database.yml +3 -0
 - data/spec/support/config/pagseguro.yml +12 -0
 - data/spec/support/config/routes.rb +4 -0
 - data/spec/support/log/development.log +0 -0
 - data/spec/support/log/test.log +375 -0
 - data/spec/support/matcher.rb +39 -0
 - data/spec/support/pagseguro-test.yml +30 -0
 - data/spec/support/tmp/pagseguro-test.yml +30 -0
 - data/templates/config.yml +13 -0
 - metadata +130 -0
 
| 
         @@ -0,0 +1,39 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            RSpec::Matchers.define :have_input do |options|
         
     | 
| 
      
 2 
     | 
    
         
            +
              match do |html|
         
     | 
| 
      
 3 
     | 
    
         
            +
                options.reverse_merge!(:type => "hidden")
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
                selector = "input"
         
     | 
| 
      
 6 
     | 
    
         
            +
                selector << "[type=#{options[:type]}]"
         
     | 
| 
      
 7 
     | 
    
         
            +
                selector << "[name=#{options[:name]}]" if options[:name]
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
                input = html.css(selector).first
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
                if options[:value]
         
     | 
| 
      
 12 
     | 
    
         
            +
                  input && input[:value] == options[:value]
         
     | 
| 
      
 13 
     | 
    
         
            +
                else
         
     | 
| 
      
 14 
     | 
    
         
            +
                  input != nil
         
     | 
| 
      
 15 
     | 
    
         
            +
                end
         
     | 
| 
      
 16 
     | 
    
         
            +
              end
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
              failure_message_for_should do |html|
         
     | 
| 
      
 19 
     | 
    
         
            +
                "expected #{html.to_s} to have a field with attributes #{options.inspect}"
         
     | 
| 
      
 20 
     | 
    
         
            +
              end
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
              failure_message_for_should_not do |html|
         
     | 
| 
      
 23 
     | 
    
         
            +
                "expected #{html.to_s} to have no field with attributes #{options.inspect}"
         
     | 
| 
      
 24 
     | 
    
         
            +
              end
         
     | 
| 
      
 25 
     | 
    
         
            +
            end
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
            RSpec::Matchers.define :have_attr do |name, value|
         
     | 
| 
      
 28 
     | 
    
         
            +
              match do |html|
         
     | 
| 
      
 29 
     | 
    
         
            +
                html[name] == value
         
     | 
| 
      
 30 
     | 
    
         
            +
              end
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
              failure_message_for_should do |html|
         
     | 
| 
      
 33 
     | 
    
         
            +
                "expected #{html.to_s} to have a #{name.inspect} with value #{value.inspect}"
         
     | 
| 
      
 34 
     | 
    
         
            +
              end
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
              description do
         
     | 
| 
      
 37 
     | 
    
         
            +
                "should have attribute #{name.inspect} with value #{value.inspect}"
         
     | 
| 
      
 38 
     | 
    
         
            +
              end
         
     | 
| 
      
 39 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,30 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --- 
         
     | 
| 
      
 2 
     | 
    
         
            +
            ABC: !map:HashWithIndifferentAccess 
         
     | 
| 
      
 3 
     | 
    
         
            +
              commit: Pagar com PagSeguro
         
     | 
| 
      
 4 
     | 
    
         
            +
              email_cobranca: user@example.com
         
     | 
| 
      
 5 
     | 
    
         
            +
              encoding: utf-8
         
     | 
| 
      
 6 
     | 
    
         
            +
              
         
     | 
| 
      
 7 
     | 
    
         
            +
              item_descr_1: Ruby 1.9 PDF
         
     | 
| 
      
 8 
     | 
    
         
            +
              item_frete_1: "0"
         
     | 
| 
      
 9 
     | 
    
         
            +
              item_id_1: "1"
         
     | 
| 
      
 10 
     | 
    
         
            +
              item_peso_1: "0"
         
     | 
| 
      
 11 
     | 
    
         
            +
              item_quant_1: "1"
         
     | 
| 
      
 12 
     | 
    
         
            +
              item_valor_1: "900"
         
     | 
| 
      
 13 
     | 
    
         
            +
              
         
     | 
| 
      
 14 
     | 
    
         
            +
              item_descr_2: Ruby 1.9 Screencast
         
     | 
| 
      
 15 
     | 
    
         
            +
              item_frete_2: "0"
         
     | 
| 
      
 16 
     | 
    
         
            +
              item_id_2: "2"
         
     | 
| 
      
 17 
     | 
    
         
            +
              item_peso_2: "0"
         
     | 
| 
      
 18 
     | 
    
         
            +
              item_quant_2: "1"
         
     | 
| 
      
 19 
     | 
    
         
            +
              item_valor_2: "1250"
         
     | 
| 
      
 20 
     | 
    
         
            +
              
         
     | 
| 
      
 21 
     | 
    
         
            +
              item_descr_3: Ruby T-Shirt
         
     | 
| 
      
 22 
     | 
    
         
            +
              item_frete_3: "250"
         
     | 
| 
      
 23 
     | 
    
         
            +
              item_id_3: "3"
         
     | 
| 
      
 24 
     | 
    
         
            +
              item_peso_3: "300"
         
     | 
| 
      
 25 
     | 
    
         
            +
              item_quant_3: "2"
         
     | 
| 
      
 26 
     | 
    
         
            +
              item_valor_3: "1989"
         
     | 
| 
      
 27 
     | 
    
         
            +
              
         
     | 
| 
      
 28 
     | 
    
         
            +
              moeda: BRL
         
     | 
| 
      
 29 
     | 
    
         
            +
              ref_transacao: ABC
         
     | 
| 
      
 30 
     | 
    
         
            +
              tipo: CP
         
     | 
| 
         @@ -0,0 +1,30 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --- 
         
     | 
| 
      
 2 
     | 
    
         
            +
            ABC: !map:HashWithIndifferentAccess 
         
     | 
| 
      
 3 
     | 
    
         
            +
              commit: Pagar com PagSeguro
         
     | 
| 
      
 4 
     | 
    
         
            +
              email_cobranca: user@example.com
         
     | 
| 
      
 5 
     | 
    
         
            +
              encoding: utf-8
         
     | 
| 
      
 6 
     | 
    
         
            +
              
         
     | 
| 
      
 7 
     | 
    
         
            +
              item_descr_1: Ruby 1.9 PDF
         
     | 
| 
      
 8 
     | 
    
         
            +
              item_frete_1: "0"
         
     | 
| 
      
 9 
     | 
    
         
            +
              item_id_1: "1"
         
     | 
| 
      
 10 
     | 
    
         
            +
              item_peso_1: "0"
         
     | 
| 
      
 11 
     | 
    
         
            +
              item_quant_1: "1"
         
     | 
| 
      
 12 
     | 
    
         
            +
              item_valor_1: "900"
         
     | 
| 
      
 13 
     | 
    
         
            +
              
         
     | 
| 
      
 14 
     | 
    
         
            +
              item_descr_2: Ruby 1.9 Screencast
         
     | 
| 
      
 15 
     | 
    
         
            +
              item_frete_2: "0"
         
     | 
| 
      
 16 
     | 
    
         
            +
              item_id_2: "2"
         
     | 
| 
      
 17 
     | 
    
         
            +
              item_peso_2: "0"
         
     | 
| 
      
 18 
     | 
    
         
            +
              item_quant_2: "1"
         
     | 
| 
      
 19 
     | 
    
         
            +
              item_valor_2: "1250"
         
     | 
| 
      
 20 
     | 
    
         
            +
              
         
     | 
| 
      
 21 
     | 
    
         
            +
              item_descr_3: Ruby T-Shirt
         
     | 
| 
      
 22 
     | 
    
         
            +
              item_frete_3: "250"
         
     | 
| 
      
 23 
     | 
    
         
            +
              item_id_3: "3"
         
     | 
| 
      
 24 
     | 
    
         
            +
              item_peso_3: "300"
         
     | 
| 
      
 25 
     | 
    
         
            +
              item_quant_3: "2"
         
     | 
| 
      
 26 
     | 
    
         
            +
              item_valor_3: "1989"
         
     | 
| 
      
 27 
     | 
    
         
            +
              
         
     | 
| 
      
 28 
     | 
    
         
            +
              moeda: BRL
         
     | 
| 
      
 29 
     | 
    
         
            +
              ref_transacao: ABC
         
     | 
| 
      
 30 
     | 
    
         
            +
              tipo: CP
         
     | 
| 
         @@ -0,0 +1,13 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            development: &development
         
     | 
| 
      
 2 
     | 
    
         
            +
              developer: true
         
     | 
| 
      
 3 
     | 
    
         
            +
              base: "http://localhost:3000"
         
     | 
| 
      
 4 
     | 
    
         
            +
              return_to: "/pedido/efetuado"
         
     | 
| 
      
 5 
     | 
    
         
            +
              email: user@example.com
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            test:
         
     | 
| 
      
 8 
     | 
    
         
            +
              <<: *development
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            production:
         
     | 
| 
      
 11 
     | 
    
         
            +
              authenticity_token: 9CA8D46AF0C6177CB4C23D76CAF5E4B0
         
     | 
| 
      
 12 
     | 
    
         
            +
              email: user@example.com
         
     | 
| 
      
 13 
     | 
    
         
            +
              return_to: "/pedido/efetuado"
         
     | 
    
        metadata
    ADDED
    
    | 
         @@ -0,0 +1,130 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification 
         
     | 
| 
      
 2 
     | 
    
         
            +
            name: pagseguro
         
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version 
         
     | 
| 
      
 4 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 5 
     | 
    
         
            +
              segments: 
         
     | 
| 
      
 6 
     | 
    
         
            +
              - 0
         
     | 
| 
      
 7 
     | 
    
         
            +
              - 1
         
     | 
| 
      
 8 
     | 
    
         
            +
              - 0
         
     | 
| 
      
 9 
     | 
    
         
            +
              version: 0.1.0
         
     | 
| 
      
 10 
     | 
    
         
            +
            platform: ruby
         
     | 
| 
      
 11 
     | 
    
         
            +
            authors: 
         
     | 
| 
      
 12 
     | 
    
         
            +
            - Nando Vieira
         
     | 
| 
      
 13 
     | 
    
         
            +
            autorequire: 
         
     | 
| 
      
 14 
     | 
    
         
            +
            bindir: bin
         
     | 
| 
      
 15 
     | 
    
         
            +
            cert_chain: []
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            date: 2010-09-10 00:00:00 -03:00
         
     | 
| 
      
 18 
     | 
    
         
            +
            default_executable: 
         
     | 
| 
      
 19 
     | 
    
         
            +
            dependencies: 
         
     | 
| 
      
 20 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency 
         
     | 
| 
      
 21 
     | 
    
         
            +
              name: rspec
         
     | 
| 
      
 22 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 23 
     | 
    
         
            +
              requirement: &id001 !ruby/object:Gem::Requirement 
         
     | 
| 
      
 24 
     | 
    
         
            +
                none: false
         
     | 
| 
      
 25 
     | 
    
         
            +
                requirements: 
         
     | 
| 
      
 26 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 27 
     | 
    
         
            +
                  - !ruby/object:Gem::Version 
         
     | 
| 
      
 28 
     | 
    
         
            +
                    segments: 
         
     | 
| 
      
 29 
     | 
    
         
            +
                    - 2
         
     | 
| 
      
 30 
     | 
    
         
            +
                    - 0
         
     | 
| 
      
 31 
     | 
    
         
            +
                    - 0
         
     | 
| 
      
 32 
     | 
    
         
            +
                    version: 2.0.0
         
     | 
| 
      
 33 
     | 
    
         
            +
              type: :development
         
     | 
| 
      
 34 
     | 
    
         
            +
              version_requirements: *id001
         
     | 
| 
      
 35 
     | 
    
         
            +
            description: ""
         
     | 
| 
      
 36 
     | 
    
         
            +
            email: fnando.vieira@gmail.com
         
     | 
| 
      
 37 
     | 
    
         
            +
            executables: []
         
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
      
 39 
     | 
    
         
            +
            extensions: []
         
     | 
| 
      
 40 
     | 
    
         
            +
             
     | 
| 
      
 41 
     | 
    
         
            +
            extra_rdoc_files: 
         
     | 
| 
      
 42 
     | 
    
         
            +
            - README.markdown
         
     | 
| 
      
 43 
     | 
    
         
            +
            files: 
         
     | 
| 
      
 44 
     | 
    
         
            +
            - .rspec
         
     | 
| 
      
 45 
     | 
    
         
            +
            - Gemfile
         
     | 
| 
      
 46 
     | 
    
         
            +
            - Gemfile.lock
         
     | 
| 
      
 47 
     | 
    
         
            +
            - README.markdown
         
     | 
| 
      
 48 
     | 
    
         
            +
            - Rakefile
         
     | 
| 
      
 49 
     | 
    
         
            +
            - lib/pagseguro.rb
         
     | 
| 
      
 50 
     | 
    
         
            +
            - lib/pagseguro/action_controller.rb
         
     | 
| 
      
 51 
     | 
    
         
            +
            - lib/pagseguro/developer_controller.rb
         
     | 
| 
      
 52 
     | 
    
         
            +
            - lib/pagseguro/generator.rb
         
     | 
| 
      
 53 
     | 
    
         
            +
            - lib/pagseguro/helper.rb
         
     | 
| 
      
 54 
     | 
    
         
            +
            - lib/pagseguro/notification.rb
         
     | 
| 
      
 55 
     | 
    
         
            +
            - lib/pagseguro/order.rb
         
     | 
| 
      
 56 
     | 
    
         
            +
            - lib/pagseguro/railtie.rb
         
     | 
| 
      
 57 
     | 
    
         
            +
            - lib/pagseguro/rake.rb
         
     | 
| 
      
 58 
     | 
    
         
            +
            - lib/pagseguro/routes.rb
         
     | 
| 
      
 59 
     | 
    
         
            +
            - lib/pagseguro/version.rb
         
     | 
| 
      
 60 
     | 
    
         
            +
            - lib/pagseguro/views/_form.html.erb
         
     | 
| 
      
 61 
     | 
    
         
            +
            - lib/tasks/pagseguro.rake
         
     | 
| 
      
 62 
     | 
    
         
            +
            - pagseguro.gemspec
         
     | 
| 
      
 63 
     | 
    
         
            +
            - spec/controllers/developer_controller_spec.rb
         
     | 
| 
      
 64 
     | 
    
         
            +
            - spec/helpers/helper_spec.rb
         
     | 
| 
      
 65 
     | 
    
         
            +
            - spec/pagseguro/notification_spec.rb
         
     | 
| 
      
 66 
     | 
    
         
            +
            - spec/pagseguro/order_spec.rb
         
     | 
| 
      
 67 
     | 
    
         
            +
            - spec/pagseguro/pagseguro_spec.rb
         
     | 
| 
      
 68 
     | 
    
         
            +
            - spec/pagseguro/rake_spec.rb
         
     | 
| 
      
 69 
     | 
    
         
            +
            - spec/spec_helper.rb
         
     | 
| 
      
 70 
     | 
    
         
            +
            - spec/support/app/controllers/application_controller.rb
         
     | 
| 
      
 71 
     | 
    
         
            +
            - spec/support/app/models/account.rb
         
     | 
| 
      
 72 
     | 
    
         
            +
            - spec/support/app/models/user.rb
         
     | 
| 
      
 73 
     | 
    
         
            +
            - spec/support/app/views/dashboard/index.erb
         
     | 
| 
      
 74 
     | 
    
         
            +
            - spec/support/app/views/session/new.erb
         
     | 
| 
      
 75 
     | 
    
         
            +
            - spec/support/config/boot.rb
         
     | 
| 
      
 76 
     | 
    
         
            +
            - spec/support/config/database.yml
         
     | 
| 
      
 77 
     | 
    
         
            +
            - spec/support/config/pagseguro.yml
         
     | 
| 
      
 78 
     | 
    
         
            +
            - spec/support/config/routes.rb
         
     | 
| 
      
 79 
     | 
    
         
            +
            - spec/support/log/development.log
         
     | 
| 
      
 80 
     | 
    
         
            +
            - spec/support/log/test.log
         
     | 
| 
      
 81 
     | 
    
         
            +
            - spec/support/matcher.rb
         
     | 
| 
      
 82 
     | 
    
         
            +
            - spec/support/pagseguro-test.yml
         
     | 
| 
      
 83 
     | 
    
         
            +
            - spec/support/tmp/pagseguro-test.yml
         
     | 
| 
      
 84 
     | 
    
         
            +
            - templates/config.yml
         
     | 
| 
      
 85 
     | 
    
         
            +
            has_rdoc: true
         
     | 
| 
      
 86 
     | 
    
         
            +
            homepage: http://github.com/fnando/pagseguro
         
     | 
| 
      
 87 
     | 
    
         
            +
            licenses: []
         
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
      
 89 
     | 
    
         
            +
            post_install_message: 
         
     | 
| 
      
 90 
     | 
    
         
            +
            rdoc_options: 
         
     | 
| 
      
 91 
     | 
    
         
            +
            - --charset=UTF-8
         
     | 
| 
      
 92 
     | 
    
         
            +
            require_paths: 
         
     | 
| 
      
 93 
     | 
    
         
            +
            - lib
         
     | 
| 
      
 94 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement 
         
     | 
| 
      
 95 
     | 
    
         
            +
              none: false
         
     | 
| 
      
 96 
     | 
    
         
            +
              requirements: 
         
     | 
| 
      
 97 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 98 
     | 
    
         
            +
                - !ruby/object:Gem::Version 
         
     | 
| 
      
 99 
     | 
    
         
            +
                  segments: 
         
     | 
| 
      
 100 
     | 
    
         
            +
                  - 0
         
     | 
| 
      
 101 
     | 
    
         
            +
                  version: "0"
         
     | 
| 
      
 102 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement 
         
     | 
| 
      
 103 
     | 
    
         
            +
              none: false
         
     | 
| 
      
 104 
     | 
    
         
            +
              requirements: 
         
     | 
| 
      
 105 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 106 
     | 
    
         
            +
                - !ruby/object:Gem::Version 
         
     | 
| 
      
 107 
     | 
    
         
            +
                  segments: 
         
     | 
| 
      
 108 
     | 
    
         
            +
                  - 0
         
     | 
| 
      
 109 
     | 
    
         
            +
                  version: "0"
         
     | 
| 
      
 110 
     | 
    
         
            +
            requirements: []
         
     | 
| 
      
 111 
     | 
    
         
            +
             
     | 
| 
      
 112 
     | 
    
         
            +
            rubyforge_project: 
         
     | 
| 
      
 113 
     | 
    
         
            +
            rubygems_version: 1.3.7
         
     | 
| 
      
 114 
     | 
    
         
            +
            signing_key: 
         
     | 
| 
      
 115 
     | 
    
         
            +
            specification_version: 3
         
     | 
| 
      
 116 
     | 
    
         
            +
            summary: A wrapper for the PagSeguro payment gateway.
         
     | 
| 
      
 117 
     | 
    
         
            +
            test_files: 
         
     | 
| 
      
 118 
     | 
    
         
            +
            - spec/controllers/developer_controller_spec.rb
         
     | 
| 
      
 119 
     | 
    
         
            +
            - spec/helpers/helper_spec.rb
         
     | 
| 
      
 120 
     | 
    
         
            +
            - spec/pagseguro/notification_spec.rb
         
     | 
| 
      
 121 
     | 
    
         
            +
            - spec/pagseguro/order_spec.rb
         
     | 
| 
      
 122 
     | 
    
         
            +
            - spec/pagseguro/pagseguro_spec.rb
         
     | 
| 
      
 123 
     | 
    
         
            +
            - spec/pagseguro/rake_spec.rb
         
     | 
| 
      
 124 
     | 
    
         
            +
            - spec/spec_helper.rb
         
     | 
| 
      
 125 
     | 
    
         
            +
            - spec/support/app/controllers/application_controller.rb
         
     | 
| 
      
 126 
     | 
    
         
            +
            - spec/support/app/models/account.rb
         
     | 
| 
      
 127 
     | 
    
         
            +
            - spec/support/app/models/user.rb
         
     | 
| 
      
 128 
     | 
    
         
            +
            - spec/support/config/boot.rb
         
     | 
| 
      
 129 
     | 
    
         
            +
            - spec/support/config/routes.rb
         
     | 
| 
      
 130 
     | 
    
         
            +
            - spec/support/matcher.rb
         
     |