pagseguro 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/.rspec +1 -0
  2. data/Gemfile +8 -0
  3. data/Gemfile.lock +104 -0
  4. data/README.markdown +212 -0
  5. data/Rakefile +25 -0
  6. data/lib/pagseguro.rb +66 -0
  7. data/lib/pagseguro/action_controller.rb +11 -0
  8. data/lib/pagseguro/developer_controller.rb +26 -0
  9. data/lib/pagseguro/generator.rb +12 -0
  10. data/lib/pagseguro/helper.rb +8 -0
  11. data/lib/pagseguro/notification.rb +192 -0
  12. data/lib/pagseguro/order.rb +73 -0
  13. data/lib/pagseguro/railtie.rb +23 -0
  14. data/lib/pagseguro/rake.rb +96 -0
  15. data/lib/pagseguro/routes.rb +4 -0
  16. data/lib/pagseguro/version.rb +8 -0
  17. data/lib/pagseguro/views/_form.html.erb +21 -0
  18. data/lib/tasks/pagseguro.rake +6 -0
  19. data/pagseguro.gemspec +95 -0
  20. data/spec/controllers/developer_controller_spec.rb +26 -0
  21. data/spec/helpers/helper_spec.rb +80 -0
  22. data/spec/pagseguro/notification_spec.rb +336 -0
  23. data/spec/pagseguro/order_spec.rb +79 -0
  24. data/spec/pagseguro/pagseguro_spec.rb +48 -0
  25. data/spec/pagseguro/rake_spec.rb +134 -0
  26. data/spec/spec_helper.rb +10 -0
  27. data/spec/support/app/controllers/application_controller.rb +2 -0
  28. data/spec/support/app/models/account.rb +2 -0
  29. data/spec/support/app/models/user.rb +3 -0
  30. data/spec/support/app/views/dashboard/index.erb +0 -0
  31. data/spec/support/app/views/session/new.erb +0 -0
  32. data/spec/support/config/boot.rb +14 -0
  33. data/spec/support/config/database.yml +3 -0
  34. data/spec/support/config/pagseguro.yml +12 -0
  35. data/spec/support/config/routes.rb +4 -0
  36. data/spec/support/log/development.log +0 -0
  37. data/spec/support/log/test.log +375 -0
  38. data/spec/support/matcher.rb +39 -0
  39. data/spec/support/pagseguro-test.yml +30 -0
  40. data/spec/support/tmp/pagseguro-test.yml +30 -0
  41. data/templates/config.yml +13 -0
  42. metadata +130 -0
@@ -0,0 +1,79 @@
1
+ require "spec_helper"
2
+
3
+ describe PagSeguro::Order do
4
+ before do
5
+ @order = PagSeguro::Order.new
6
+ @product = {:price => 9.90, :description => "Ruby 1.9 PDF", :id => 1}
7
+ end
8
+
9
+ it "should set order id when instantiating object" do
10
+ @order = PagSeguro::Order.new("ABCDEF")
11
+ @order.id.should == "ABCDEF"
12
+ end
13
+
14
+ it "should set order id throught setter" do
15
+ @order.id = "ABCDEF"
16
+ @order.id.should == "ABCDEF"
17
+ end
18
+
19
+ it "should reset products" do
20
+ @order.products += [1,2,3]
21
+ @order.products.should have(3).items
22
+ @order.reset!
23
+ @order.products.should be_empty
24
+ end
25
+
26
+ it "should alias add method" do
27
+ @order.should_receive(:<<).with(:id => 1)
28
+ @order.add :id => 1
29
+ end
30
+
31
+ it "should add product with default settings" do
32
+ @order << @product
33
+ @order.products.should have(1).item
34
+
35
+ p = @order.products.first
36
+ p[:price].should == 990
37
+ p[:description].should == "Ruby 1.9 PDF"
38
+ p[:id].should == 1
39
+ p[:quantity].should == 1
40
+ p[:weight].should be_nil
41
+ p[:fees].should be_nil
42
+ p[:shipping].should be_nil
43
+ end
44
+
45
+ it "should add product with custom settings" do
46
+ @order << @product.merge(:quantity => 3, :shipping => 3.50, :weight => 100, :fees => 1.50)
47
+ @order.products.should have(1).item
48
+
49
+ p = @order.products.first
50
+ p[:price].should == 990
51
+ p[:description].should == "Ruby 1.9 PDF"
52
+ p[:id].should == 1
53
+ p[:quantity].should == 3
54
+ p[:weight].should == 100
55
+ p[:shipping].should == 350
56
+ p[:fees].should == 150
57
+ end
58
+
59
+ it "should convert amounts to cents" do
60
+ @order << @product.merge(:price => 9.99, :shipping => 3.67)
61
+
62
+ p = @order.products.first
63
+ p[:price].should == 999
64
+ p[:shipping].should == 367
65
+ end
66
+
67
+ it "should convert big decimal to cents" do
68
+ @product.merge!(:price => BigDecimal.new("199.00"))
69
+ @order << @product
70
+
71
+ p = @order.products.first
72
+ p[:price].should == 19900
73
+ end
74
+
75
+ it "should convert weight to grammes" do
76
+ @order << @product.merge(:weight => 1.3)
77
+ @order.products.first[:weight].should == 1300
78
+ end
79
+ end
@@ -0,0 +1,48 @@
1
+ require "spec_helper"
2
+
3
+ describe PagSeguro do
4
+ describe "configuration" do
5
+ before do
6
+ @config_file = Rails.root.join("config/pagseguro.yml")
7
+ @contents = YAML.load_file(@config_file)
8
+ File.stub!(:exists?).and_return(true)
9
+ YAML.stub!(:load_file).and_return(@contents)
10
+
11
+ module PagSeguro; @@config = nil; end
12
+ end
13
+
14
+ it "should raise error if configuration is not found" do
15
+ File.should_receive(:exist?).with(@config_file).and_return(false)
16
+ expect { PagSeguro.config }.to raise_error(PagSeguro::MissingConfigurationException)
17
+ end
18
+
19
+ it "should raise error if no environment is set on config file" do
20
+ YAML.should_receive(:load_file).with(@config_file).and_return({})
21
+ expect { PagSeguro.config }.to raise_error(PagSeguro::MissingEnvironmentException)
22
+ end
23
+
24
+ it "should raise error if config file is empty" do
25
+ # YAML.load_file return false when file is zero-byte
26
+ YAML.should_receive(:load_file).with(@config_file).and_return(false)
27
+ expect { PagSeguro.config }.to raise_error(PagSeguro::MissingEnvironmentException)
28
+ end
29
+
30
+ it "should return local url if developer mode is enabled" do
31
+ PagSeguro.should_receive(:developer?).and_return(true)
32
+ PagSeguro.gateway_url.should == "/pagseguro_developer"
33
+ end
34
+
35
+ it "should return real url if developer mode is disabled" do
36
+ PagSeguro.should_receive(:developer?).and_return(false)
37
+ PagSeguro.gateway_url.should == "https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx"
38
+ end
39
+
40
+ it "should read configuration developer mode" do
41
+ PagSeguro.stub!(:config).and_return("developer" => true)
42
+ PagSeguro.should be_developer
43
+
44
+ PagSeguro.stub!(:config).and_return("developer" => false)
45
+ PagSeguro.should_not be_developer
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,134 @@
1
+ # encoding: utf-8
2
+ require "spec_helper"
3
+
4
+ class Net::HTTP
5
+ def self.post_form(uri, params)
6
+ $HTTP_URI = uri
7
+ $HTTP_PARAMS = params
8
+ end
9
+ end
10
+
11
+ describe PagSeguro::Rake do
12
+ before do
13
+ # First, copy file from spec/support/pagseguro-test.yml
14
+ # to tmp/pagseguro-test.yml
15
+ @origin = File.dirname(__FILE__) + "/../support/pagseguro-test.yml"
16
+ @destiny = Rails.root.join("tmp/pagseguro-test.yml")
17
+
18
+ FileUtils.cp @origin, @destiny
19
+
20
+ # Stub Digest::MD5#hexdigest to always return THEHASH
21
+ Digest::MD5.stub!(:hexdigest).and_return("THEHASH")
22
+
23
+ # Stub the URI#parse to return a mock
24
+ @uri = mock("URI").as_null_object
25
+ URI.stub!(:parse).and_return(@uri)
26
+
27
+ # Load the pagseguro-test.yml file to
28
+ # set some variables in order to compare it
29
+ @orders = YAML.load_file(@origin)
30
+ @order = @orders["ABC"]
31
+
32
+ # Set the order id
33
+ ENV["ID"] = "ABC"
34
+
35
+ PagSeguro::Rake.run
36
+ end
37
+
38
+ it "should ping return URL with default arguments" do
39
+ params["StatusTransacao"].should == "Completo"
40
+ params["TipoPagamento"].should == "Cartão de Crédito"
41
+ end
42
+
43
+ it "should ping return URL with provided arguments" do
44
+ ENV["STATUS"] = "canceled"
45
+ ENV["PAYMENT_METHOD"] = "invoice"
46
+
47
+ PagSeguro::Rake.run
48
+
49
+ params["StatusTransacao"].should == "Cancelado"
50
+ params["TipoPagamento"].should == "Boleto"
51
+ end
52
+
53
+ it "should set order id" do
54
+ params["Referencia"].should == "ABC"
55
+ end
56
+
57
+ it "should set number of items" do
58
+ params["NumItens"].should == 3
59
+ end
60
+
61
+ it "should set note" do
62
+ ENV["NOTE"] = "Deliver ASAP"
63
+ PagSeguro::Rake.run
64
+ params["Anotacao"].should == "Deliver ASAP"
65
+ end
66
+
67
+ it "should set client's name" do
68
+ ENV["NAME"] = "Rafael Mendonça França"
69
+ PagSeguro::Rake.run
70
+ params["CliNome"].should == "Rafael Mendonça França"
71
+ end
72
+
73
+ it "should set transaction date" do
74
+ now = Time.now
75
+ Time.stub!(:now).and_return(now)
76
+
77
+ PagSeguro::Rake.run
78
+ params["DataTransacao"].should == now.strftime("%d/%m/%Y %H:%M:%S")
79
+ end
80
+
81
+ it "should set transaction id" do
82
+ params["TransacaoID"].should == "THEHASH"
83
+ end
84
+
85
+ it "should set products" do
86
+ params["ProdID_1"].should == "1"
87
+ params["ProdDescricao_1"].should == "Ruby 1.9 PDF"
88
+ params["ProdValor_1"].should == "9,00"
89
+ params["ProdQuantidade_1"].should == "1"
90
+ params["ProdExtras_1"].should == "0,00"
91
+ params["ProdFrete_1"].should == "0,00"
92
+
93
+ params["ProdID_2"].should == "2"
94
+ params["ProdDescricao_2"].should == "Ruby 1.9 Screencast"
95
+ params["ProdValor_2"].should == "12,50"
96
+ params["ProdQuantidade_2"].should == "1"
97
+ params["ProdExtras_2"].should == "0,00"
98
+ params["ProdFrete_2"].should == "0,00"
99
+
100
+ params["ProdID_3"].should == "3"
101
+ params["ProdDescricao_3"].should == "Ruby T-Shirt"
102
+ params["ProdValor_3"].should == "19,89"
103
+ params["ProdQuantidade_3"].should == "2"
104
+ params["ProdExtras_3"].should == "0,00"
105
+ params["ProdFrete_3"].should == "2,50"
106
+ end
107
+
108
+ it "should set client info" do
109
+ params["CliNome"].should_not be_blank
110
+ params["CliEmail"].should_not be_blank
111
+ params["CliEndereco"].should_not be_blank
112
+ params["CliNumero"].should_not be_blank
113
+ params["CliComplemento"].should_not be_blank
114
+ params["CliBairro"].should_not be_blank
115
+ params["CliCidade"].should_not be_blank
116
+ params["CliCEP"].should == "12345678"
117
+ params["CliTelefone"].should == "11 12345678"
118
+ end
119
+
120
+ it "should set client e-mail" do
121
+ ENV["EMAIL"] = "john@doe.com"
122
+ PagSeguro::Rake.run
123
+ params["CliEmail"].should == "john@doe.com"
124
+ end
125
+
126
+ it "should be test environment" do
127
+ PagSeguro::DeveloperController::PAGSEGURO_ORDERS_FILE.should == File.join(Rails.root, "tmp", "pagseguro-test.yml")
128
+ end
129
+
130
+ private
131
+ def params
132
+ $HTTP_PARAMS
133
+ end
134
+ end
@@ -0,0 +1,10 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+ require "rails"
3
+ require "fakeweb"
4
+ require "pagseguro"
5
+ require "bigdecimal"
6
+ require "support/config/boot"
7
+ require "rspec/rails"
8
+ require "support/matcher"
9
+
10
+ FakeWeb.allow_net_connect = false
@@ -0,0 +1,2 @@
1
+ class ApplicationController < ActionController::Base
2
+ end
@@ -0,0 +1,2 @@
1
+ class Account < ActiveRecord::Base
2
+ end
@@ -0,0 +1,3 @@
1
+ class User < ActiveRecord::Base
2
+ authentication
3
+ end
File without changes
File without changes
@@ -0,0 +1,14 @@
1
+ ENV["BUNDLE_GEMFILE"] = File.dirname(__FILE__) + "/../../../../Gemfile"
2
+ require "bundler"
3
+ Bundler.setup
4
+ require "rails/all"
5
+ Bundler.require(:default)
6
+
7
+ module PagSeguro
8
+ class Application < Rails::Application
9
+ config.root = File.dirname(__FILE__) + "/.."
10
+ config.active_support.deprecation = :log
11
+ end
12
+ end
13
+
14
+ PagSeguro::Application.initialize!
@@ -0,0 +1,3 @@
1
+ test:
2
+ adapter: sqlite3
3
+ database: ":memory:"
@@ -0,0 +1,12 @@
1
+ development: &development
2
+ developer: true
3
+ return_to: "/invoices/confirmation"
4
+ base: "http://localhost:3000"
5
+ email: "john@doe.com"
6
+
7
+ test:
8
+ <<: *development
9
+
10
+ production:
11
+ authenticity_token: 9CA8D46AF0C6177CB4C23D76CAF5E4B0
12
+ email: user@example.com
@@ -0,0 +1,4 @@
1
+ PagSeguro::Application.routes.draw do
2
+ get "dashboard", :to => "dashboard#index"
3
+ get "login", :to => "session#new"
4
+ end
File without changes
@@ -0,0 +1,375 @@
1
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:93)
2
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:93)
3
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:93)
4
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:93)
5
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:93)
6
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:93)
7
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:94)
8
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
9
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:94)
10
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
11
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:94)
12
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
13
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:94)
14
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
15
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:94)
16
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
17
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:94)
18
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
19
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:94)
20
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
21
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:94)
22
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
23
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:96)
24
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:84)
25
+ DEPRECATION WARNING: You are using the old router DSL which will be removed in Rails 3.1. Please check how to update your routes file at: http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/. (called from draw_with_pagseguro_map at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:63)
26
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:85)
27
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:87)
28
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:87)
29
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
30
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:87)
31
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
32
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from config at /Users/fnando/Sites/github/pagseguro/lib/pagseguro.rb:87)
33
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
34
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:PagseguroDeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/controllers/pagseguro_developer_controller.rb:3)
35
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
36
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:PagseguroDeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/controllers/pagseguro_developer_controller.rb:3)
37
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
38
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:PagseguroDeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/pagseguro_developer_controller.rb:3)
39
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
40
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:PagseguroDeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/pagseguro_developer_controller.rb:3)
41
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
42
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:PagseguroDeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/pagseguro_developer_controller.rb:3)
43
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:PagseguroDeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/pagseguro_developer_controller.rb:3)
44
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
45
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
46
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
47
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
48
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
49
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
50
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
51
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
52
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
53
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
54
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
55
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
56
+ Processing by PagSeguro::DeveloperController#create as HTML
57
+ Redirected to http://test.host/invoices/confirmation
58
+ Completed 302 Found in 3ms
59
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
60
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
61
+ Processing by PagSeguro::DeveloperController#create as HTML
62
+ Redirected to http://test.host/invoices/confirmation
63
+ Completed 302 Found in 14ms
64
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
65
+ DEPRECATION WARNING: RAILS_ENV is deprecated. Please use ::Rails.env. (called from <class:DeveloperController> at /Users/fnando/Sites/github/pagseguro/lib/pagseguro/developer_controller.rb:4)
66
+ Processing by PagSeguro::DeveloperController#create as HTML
67
+ Redirected to http://test.host/invoices/confirmation
68
+ Completed 302 Found in 3ms
69
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
70
+ Processing by PagSeguro::DeveloperController#create as HTML
71
+ Redirected to http://test.host/invoices/confirmation
72
+ Completed 302 Found in 3ms
73
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
74
+ Processing by PagSeguro::DeveloperController#create as HTML
75
+ Redirected to http://test.host/invoices/confirmation
76
+ Completed 302 Found in 3ms
77
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
78
+ Processing by PagSeguro::DeveloperController#create as HTML
79
+ Redirected to http://test.host/invoices/confirmation
80
+ Completed 302 Found in 3ms
81
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
82
+ Processing by PagSeguro::DeveloperController#create as HTML
83
+ Redirected to http://test.host/invoices/confirmation
84
+ Completed 302 Found in 3ms
85
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
86
+ Processing by PagSeguro::DeveloperController#create as HTML
87
+ Redirected to http://test.host/invoices/confirmation
88
+ Completed 302 Found in 3ms
89
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
90
+ Processing by PagSeguro::DeveloperController#create as HTML
91
+ Redirected to http://test.host/invoices/confirmation
92
+ Completed 302 Found in 3ms
93
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
94
+ Processing by PagSeguro::DeveloperController#create as HTML
95
+ Redirected to http://test.host/invoices/confirmation
96
+ Completed 302 Found in 3ms
97
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
98
+ Processing by PagSeguro::DeveloperController#create as HTML
99
+ Redirected to http://test.host/invoices/confirmation
100
+ Completed 302 Found in 3ms
101
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
102
+ Processing by PagSeguro::DeveloperController#create as HTML
103
+ Redirected to http://test.host/invoices/confirmation
104
+ Completed 302 Found in 3ms
105
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
106
+ Processing by PagSeguro::DeveloperController#create as HTML
107
+ Redirected to http://test.host/invoices/confirmation
108
+ Completed 302 Found in 3ms
109
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
110
+ Processing by PagSeguro::DeveloperController#create as HTML
111
+ Redirected to http://test.host/invoices/confirmation
112
+ Completed 302 Found in 3ms
113
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
114
+ Processing by PagSeguro::DeveloperController#create as HTML
115
+ Redirected to http://test.host/invoices/confirmation
116
+ Completed 302 Found in 3ms
117
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
118
+ Processing by PagSeguro::DeveloperController#create as HTML
119
+ Redirected to http://test.host/invoices/confirmation
120
+ Completed 302 Found in 3ms
121
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
122
+ Processing by PagSeguro::DeveloperController#create as HTML
123
+ Redirected to http://test.host/invoices/confirmation
124
+ Completed 302 Found in 4ms
125
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
126
+ Processing by PagSeguro::DeveloperController#create as HTML
127
+ Redirected to http://test.host/invoices/confirmation
128
+ Completed 302 Found in 3ms
129
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
130
+ Processing by PagSeguro::DeveloperController#create as HTML
131
+ Redirected to http://test.host/invoices/confirmation
132
+ Completed 302 Found in 3ms
133
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
134
+ Processing by PagSeguro::DeveloperController#create as HTML
135
+ Redirected to http://test.host/invoices/confirmation
136
+ Completed 302 Found in 3ms
137
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
138
+ Processing by PagSeguro::DeveloperController#create as HTML
139
+ Redirected to http://test.host/invoices/confirmation
140
+ Completed 302 Found in 3ms
141
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
142
+ Processing by PagSeguro::DeveloperController#create as HTML
143
+ Redirected to http://test.host/invoices/confirmation
144
+ Completed 302 Found in 3ms
145
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
146
+ Processing by PagSeguro::DeveloperController#create as HTML
147
+ Redirected to http://test.host/invoices/confirmation
148
+ Completed 302 Found in 3ms
149
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
150
+ Processing by PagSeguro::DeveloperController#create as HTML
151
+ Redirected to http://test.host/invoices/confirmation
152
+ Completed 302 Found in 3ms
153
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
154
+ Processing by PagSeguro::DeveloperController#create as HTML
155
+ Redirected to http://test.host/invoices/confirmation
156
+ Completed 302 Found in 3ms
157
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
158
+ Processing by PagSeguro::DeveloperController#create as HTML
159
+ Redirected to http://test.host/invoices/confirmation
160
+ Completed 302 Found in 3ms
161
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
162
+ Processing by PagSeguro::DeveloperController#create as HTML
163
+ Redirected to http://test.host/invoices/confirmation
164
+ Completed 302 Found in 3ms
165
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
166
+ Processing by PagSeguro::DeveloperController#create as HTML
167
+ Redirected to http://test.host/invoices/confirmation
168
+ Completed 302 Found in 3ms
169
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
170
+ Processing by PagSeguro::DeveloperController#create as HTML
171
+ Redirected to http://test.host/invoices/confirmation
172
+ Completed 302 Found in 3ms
173
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
174
+ Processing by PagSeguro::DeveloperController#create as HTML
175
+ Redirected to http://test.host/invoices/confirmation
176
+ Completed 302 Found in 3ms
177
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
178
+ Processing by PagSeguro::DeveloperController#create as HTML
179
+ Redirected to http://test.host/invoices/confirmation
180
+ Completed 302 Found in 3ms
181
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
182
+ Processing by PagSeguro::DeveloperController#create as HTML
183
+ Redirected to http://test.host/invoices/confirmation
184
+ Completed 302 Found in 3ms
185
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
186
+ Processing by PagSeguro::DeveloperController#create as HTML
187
+ Redirected to http://test.host/invoices/confirmation
188
+ Completed 302 Found in 3ms
189
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
190
+ Processing by PagSeguro::DeveloperController#create as HTML
191
+ Redirected to http://test.host/invoices/confirmation
192
+ Completed 302 Found in 3ms
193
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
194
+ Processing by PagSeguro::DeveloperController#create as HTML
195
+ Redirected to http://test.host/invoices/confirmation
196
+ Completed 302 Found in 3ms
197
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
198
+ Processing by PagSeguro::DeveloperController#create as HTML
199
+ Redirected to http://test.host/invoices/confirmation
200
+ Completed 302 Found in 3ms
201
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
202
+ Processing by PagSeguro::DeveloperController#create as HTML
203
+ Redirected to http://test.host/invoices/confirmation
204
+ Completed 302 Found in 3ms
205
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
206
+ Processing by PagSeguro::DeveloperController#create as HTML
207
+ Redirected to http://test.host/invoices/confirmation
208
+ Completed 302 Found in 3ms
209
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
210
+ Processing by PagSeguro::DeveloperController#create as HTML
211
+ Redirected to http://test.host/invoices/confirmation
212
+ Completed 302 Found in 3ms
213
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
214
+ Processing by PagSeguro::DeveloperController#create as HTML
215
+ Redirected to http://test.host/invoices/confirmation
216
+ Completed 302 Found in 3ms
217
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
218
+ Processing by PagSeguro::DeveloperController#create as HTML
219
+ Redirected to http://test.host/invoices/confirmation
220
+ Completed 302 Found in 3ms
221
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
222
+ Processing by PagSeguro::DeveloperController#create as HTML
223
+ Redirected to http://test.host/invoices/confirmation
224
+ Completed 302 Found in 3ms
225
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
226
+ Processing by PagSeguro::DeveloperController#create as HTML
227
+ Redirected to http://test.host/invoices/confirmation
228
+ Completed 302 Found in 3ms
229
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
230
+ Processing by PagSeguro::DeveloperController#create as HTML
231
+ Redirected to http://test.host/invoices/confirmation
232
+ Completed 302 Found in 3ms
233
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
234
+ Processing by PagSeguro::DeveloperController#create as HTML
235
+ Redirected to http://test.host/invoices/confirmation
236
+ Completed 302 Found in 3ms
237
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
238
+ Processing by PagSeguro::DeveloperController#create as HTML
239
+ Redirected to http://test.host/invoices/confirmation
240
+ Completed 302 Found in 3ms
241
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
242
+ Processing by PagSeguro::DeveloperController#create as HTML
243
+ Redirected to http://test.host/invoices/confirmation
244
+ Completed 302 Found in 3ms
245
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
246
+ Processing by PagSeguro::DeveloperController#create as HTML
247
+ Redirected to http://test.host/invoices/confirmation
248
+ Completed 302 Found in 3ms
249
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
250
+ Processing by PagSeguro::DeveloperController#create as HTML
251
+ Redirected to http://test.host/invoices/confirmation
252
+ Completed 302 Found in 3ms
253
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
254
+ Processing by PagSeguro::DeveloperController#create as HTML
255
+ Redirected to http://test.host/invoices/confirmation
256
+ Completed 302 Found in 3ms
257
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
258
+ Processing by PagSeguro::DeveloperController#create as HTML
259
+ Redirected to http://test.host/invoices/confirmation
260
+ Completed 302 Found in 3ms
261
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
262
+ Processing by PagSeguro::DeveloperController#create as HTML
263
+ Redirected to http://test.host/invoices/confirmation
264
+ Completed 302 Found in 3ms
265
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
266
+ Processing by PagSeguro::DeveloperController#create as HTML
267
+ Redirected to http://test.host/invoices/confirmation
268
+ Completed 302 Found in 3ms
269
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
270
+ Processing by PagSeguro::DeveloperController#create as HTML
271
+ Redirected to http://test.host/invoices/confirmation
272
+ Completed 302 Found in 3ms
273
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
274
+ Processing by PagSeguro::DeveloperController#create as HTML
275
+ Redirected to http://test.host/invoices/confirmation
276
+ Completed 302 Found in 3ms
277
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
278
+ Processing by PagSeguro::DeveloperController#create as HTML
279
+ Redirected to http://test.host/invoices/confirmation
280
+ Completed 302 Found in 3ms
281
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
282
+ Processing by PagSeguro::DeveloperController#create as HTML
283
+ Redirected to http://test.host/invoices/confirmation
284
+ Completed 302 Found in 3ms
285
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
286
+ Processing by PagSeguro::DeveloperController#create as HTML
287
+ Redirected to http://test.host/invoices/confirmation
288
+ Completed 302 Found in 3ms
289
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
290
+ Processing by PagSeguro::DeveloperController#create as HTML
291
+ Redirected to http://test.host/invoices/confirmation
292
+ Completed 302 Found in 3ms
293
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
294
+ Processing by PagSeguro::DeveloperController#create as HTML
295
+ Redirected to http://test.host/invoices/confirmation
296
+ Completed 302 Found in 3ms
297
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
298
+ Processing by PagSeguro::DeveloperController#create as HTML
299
+ Redirected to http://test.host/invoices/confirmation
300
+ Completed 302 Found in 3ms
301
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
302
+ Processing by PagSeguro::DeveloperController#create as HTML
303
+ Redirected to http://test.host/invoices/confirmation
304
+ Completed 302 Found in 3ms
305
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
306
+ Processing by PagSeguro::DeveloperController#create as HTML
307
+ Redirected to http://test.host/invoices/confirmation
308
+ Completed 302 Found in 3ms
309
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
310
+ Processing by PagSeguro::DeveloperController#create as HTML
311
+ Redirected to http://test.host/invoices/confirmation
312
+ Completed 302 Found in 3ms
313
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
314
+ Processing by PagSeguro::DeveloperController#create as HTML
315
+ Redirected to http://test.host/invoices/confirmation
316
+ Completed 302 Found in 3ms
317
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
318
+ Processing by PagSeguro::DeveloperController#create as HTML
319
+ Redirected to http://test.host/invoices/confirmation
320
+ Completed 302 Found in 3ms
321
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
322
+ Processing by PagSeguro::DeveloperController#create as HTML
323
+ Redirected to http://test.host/invoices/confirmation
324
+ Completed 302 Found in 3ms
325
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
326
+ Processing by PagSeguro::DeveloperController#create as HTML
327
+ Redirected to http://test.host/invoices/confirmation
328
+ Completed 302 Found in 3ms
329
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
330
+ Processing by PagSeguro::DeveloperController#create as HTML
331
+ Redirected to http://test.host/invoices/confirmation
332
+ Completed 302 Found in 3ms
333
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
334
+ Processing by PagSeguro::DeveloperController#create as HTML
335
+ Redirected to http://test.host/invoices/confirmation
336
+ Completed 302 Found in 2ms
337
+ DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from block (2 levels) in <top (required)> at /Users/fnando/Sites/github/pagseguro/spec/pagseguro/rake_spec.rb:16)
338
+ Processing by PagSeguro::DeveloperController#create as HTML
339
+ Redirected to http://test.host/invoices/confirmation
340
+ Completed 302 Found in 2ms
341
+ Processing by PagSeguro::DeveloperController#create as HTML
342
+ Redirected to http://test.host/invoices/confirmation
343
+ Completed 302 Found in 2ms
344
+ Processing by PagSeguro::DeveloperController#create as HTML
345
+ Parameters: {"email_cobranca"=>"john@doe.com", "ref_transacao"=>"I1001"}
346
+ Redirected to http://test.host/invoices/confirmation
347
+ Completed 302 Found in 2ms
348
+ Processing by PagSeguro::DeveloperController#create as HTML
349
+ Redirected to http://test.host/invoices/confirmation
350
+ Completed 302 Found in 2ms
351
+ Processing by PagSeguro::DeveloperController#create as HTML
352
+ Parameters: {"email_cobranca"=>"john@doe.com", "ref_transacao"=>"I1001"}
353
+ Redirected to http://test.host/invoices/confirmation
354
+ Completed 302 Found in 2ms
355
+ Processing by PagSeguro::DeveloperController#create as HTML
356
+ Redirected to http://test.host/invoices/confirmation
357
+ Completed 302 Found in 2ms
358
+ Processing by PagSeguro::DeveloperController#create as HTML
359
+ Parameters: {"email_cobranca"=>"john@doe.com", "ref_transacao"=>"I1001"}
360
+ Redirected to http://test.host/invoices/confirmation
361
+ Completed 302 Found in 2ms
362
+ Processing by PagSeguro::DeveloperController#create as HTML
363
+ Redirected to http://test.host/invoices/confirmation
364
+ Completed 302 Found in 2ms
365
+ Processing by PagSeguro::DeveloperController#create as HTML
366
+ Redirected to http://test.host/invoices/confirmation
367
+ Completed 302 Found in 2ms
368
+ Processing by PagSeguro::DeveloperController#create as HTML
369
+ Parameters: {"email_cobranca"=>"john@doe.com", "ref_transacao"=>"I1001"}
370
+ Redirected to http://test.host/invoices/confirmation
371
+ Completed 302 Found in 2ms
372
+ Processing by PagSeguro::DeveloperController#create as HTML
373
+ Parameters: {"ref_transacao"=>"I1001"}
374
+ Redirected to http://test.host/invoices/confirmation
375
+ Completed 302 Found in 1ms