From 1b128f89748c7cf12481684e473f7c884993055f Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sun, 11 Sep 2016 21:43:03 +0900 Subject: remove duplicated fixture set names If using namespaced fixtures, get following Ruby warning. ``` activerecord/lib/active_record/fixtures.rb:922: warning: method redefined; discarding old admin_foos activerecord/lib/active_record/fixtures.rb:922: warning: previous definition of admin_foos was here ``` This is happening because of the multiple set the same path when setting the fixture name. Fix to remove the duplicate path. --- activerecord/test/fixtures/all/namespaced/accounts.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 activerecord/test/fixtures/all/namespaced/accounts.yml (limited to 'activerecord/test/fixtures/all/namespaced') diff --git a/activerecord/test/fixtures/all/namespaced/accounts.yml b/activerecord/test/fixtures/all/namespaced/accounts.yml new file mode 100644 index 0000000000..9e341a15af --- /dev/null +++ b/activerecord/test/fixtures/all/namespaced/accounts.yml @@ -0,0 +1,2 @@ +signals37: + name: 37signals -- cgit v1.2.3