aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-01-27 00:35:03 +0000
committerRobin Houston <robin.houston@gmail.com>2012-01-27 00:35:03 +0000
commit5d77eb0b4580bf6fb13e2fca2e9469b84f8315ff (patch)
tree1755eee1075de2c702154d0fd1349bd8cd166d6e
parent0b82a80ae60afad0f43b4b60e5ce984ffb9ea8eb (diff)
Remove stray puts in test code
This was added for temporary debugging purposes, and ought to have been removed.
-rw-r--r--spec/models/public_body_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/models/public_body_spec.rb b/spec/models/public_body_spec.rb
index 97fa04f93..8d667c395 100644
--- a/spec/models/public_body_spec.rb
+++ b/spec/models/public_body_spec.rb
@@ -249,7 +249,6 @@ describe PublicBody, " when loading CSV files" do
it "should import even if no email is provided" do
errors, notes = PublicBody.import_csv("1,aBody", '', 'replace', true, 'someadmin') # true means dry run
errors.should == []
- puts "notes = #{notes.inspect}"
notes.size.should == 2
notes[0].should == "line 1: creating new authority 'aBody' (locale: en):\n\t{\"name\":\"aBody\"}"
notes[1].should =~ /Notes: Some bodies are in database, but not in CSV file:\n( [A-Za-z ]+\n)*You may want to delete them manually.\n/