updates from Production
This commit is contained in:
1 parent
bf1fc08978
commit
a5871fabf6
8 files changed
+82
-103
No files matched your search
@@ -26,6 +26,11 @@ require 'spec_helper'
|
||||
|
||||
describe Feed do
|
||||
|
||||
it "should not include location in feed.to_json" do
|
||||
feed = Feed.new
|
||||
JSON.parse(feed.to_json).keys.include?('location').should eq(false)
|
||||
end
|
||||
|
||||
it "should close the connection when an exception is raised" do
|
||||
# use a single connection for both queries
|
||||
connection = ActiveRecord::Base.connection
|
||||
|
||||
Reference in new issue
Block a user