Skip to content

Commit 3c02257

Browse files
committed
Fix tests for cd900f1
Backport additional changes from merge commit 9f4cefd
1 parent cd900f1 commit 3c02257

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

activerecord/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
* No longer pass deprecated option `-i` to `pg_dump`.
2+
3+
*Paul Sadauskas*
4+
5+
16
## Rails 4.1.14.rc1 (October 30, 2015) ##
27

38
* Includes HABTM returns correct size now. It's caused by the join dependency
@@ -29,6 +34,7 @@
2934

3035
*Sean Griffin*
3136

37+
3238
## Rails 4.1.12 (June 25, 2015) ##
3339

3440
* Raises the right exception when declares a has many through

activerecord/test/cases/tasks/postgresql_rake_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def setup
202202

203203
def test_structure_dump
204204
filename = "awesome-file.sql"
205-
Kernel.expects(:system).with("pg_dump -i -s -x -O -f #{filename} my-app-db").returns(true)
205+
Kernel.expects(:system).with("pg_dump -s -x -O -f #{filename} my-app-db").returns(true)
206206
@connection.expects(:schema_search_path).returns("foo")
207207

208208
ActiveRecord::Tasks::DatabaseTasks.structure_dump(@configuration, filename)

0 commit comments

Comments
 (0)