Remove stray puts.
This commit is contained in:
parent
1ede9574cd
commit
2c2a32e140
|
|
@ -42,7 +42,6 @@ describe ApiRecurlyController, :type=>:controller do
|
|||
post :create_account, {:format => 'json', :billing_info=>@billing_info}
|
||||
response.status.should == 404
|
||||
body = JSON.parse(response.body)
|
||||
puts "body.inspect: #{body.inspect}"
|
||||
body['errors'].should have(1).items
|
||||
body['errors']['number'].should_not be_nil
|
||||
end
|
||||
|
|
@ -59,7 +58,6 @@ describe ApiRecurlyController, :type=>:controller do
|
|||
get :get_account
|
||||
body = JSON.parse(response.body)
|
||||
response.should be_success
|
||||
puts "body: #{body}"
|
||||
body['email'].should eq(@user.email)
|
||||
end
|
||||
|
||||
|
|
@ -86,13 +84,10 @@ describe ApiRecurlyController, :type=>:controller do
|
|||
pending "We don't have any subscriptions yet -- uncomment in routes"
|
||||
get :get_subscription, { :format => 'json'}
|
||||
response.should be_success
|
||||
body = JSON.parse(response.body)
|
||||
puts body
|
||||
body = JSON.parse(response.body)
|
||||
end
|
||||
|
||||
it "should update billing info" do
|
||||
#pending "this fails in the controller spec only, possibly because it contacts an external site."
|
||||
|
||||
# $enable_tracing = false
|
||||
# $trace_out = open('trace.txt', 'w')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue