Skip to content

Commit

Permalink
Cleanup test, remove puts
Browse files Browse the repository at this point in the history
  • Loading branch information
teeparham committed Mar 22, 2015
1 parent 5ac8fb5 commit 9ad5226
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Expand Up @@ -87,7 +87,6 @@ def cast_value(value)
return if value.nil?
RGeo::WKRep::WKBParser.new(@factory_generator, support_ewkb: true).parse(value)
rescue RGeo::Error::ParseError
puts "\ncast failed!!\n\n"
nil
end

Expand Down
2 changes: 1 addition & 1 deletion test/tasks_test.rb
Expand Up @@ -40,7 +40,7 @@ def test_basic_geography_sql_dump
ActiveRecord::Tasks::DatabaseTasks.structure_dump(NEW_CONNECTION, tmp_sql_filename)
data = File.read(tmp_sql_filename)
assert(data.index('latlon geography(Point,4326)'))
assert(data.index('geo_col geometry(Geometry,4326)'), data)
assert(data.index('geo_col geometry(Geometry,4326)'))
end

def test_index_sql_dump
Expand Down

0 comments on commit 9ad5226

Please sign in to comment.