summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-02-20 17:13:51 -0500
committerDavisLWebb <davislwebb@ymail.com>2014-02-20 17:13:51 -0500
commitcd1fabe40ca4d290df33a2590f3a1f2072103972 (patch)
tree98afd236e1d14e892602304e739fc65d450a43fd /test/fixtures
parentc14d0327a631a4321464c7c1e250d75458e13f49 (diff)
fix datatype names in generate.sh
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/alerts.yml4
-rw-r--r--test/fixtures/matches.yml4
-rw-r--r--test/fixtures/pms.yml8
-rw-r--r--test/fixtures/team_match_pairs.yml8
-rw-r--r--test/fixtures/user_team_pairs.yml8
-rw-r--r--test/fixtures/users.yml8
6 files changed, 20 insertions, 20 deletions
diff --git a/test/fixtures/alerts.yml b/test/fixtures/alerts.yml
index 92ee1b0..52959af 100644
--- a/test/fixtures/alerts.yml
+++ b/test/fixtures/alerts.yml
@@ -1,9 +1,9 @@
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
- author:
+ author_id:
message: MyText
two:
- author:
+ author_id:
message: MyText
diff --git a/test/fixtures/matches.yml b/test/fixtures/matches.yml
index 48c08a5..0356cee 100644
--- a/test/fixtures/matches.yml
+++ b/test/fixtures/matches.yml
@@ -1,7 +1,7 @@
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
- tournament:
+ tournament_id:
two:
- tournament:
+ tournament_id:
diff --git a/test/fixtures/pms.yml b/test/fixtures/pms.yml
index 4ad9af3..f77e727 100644
--- a/test/fixtures/pms.yml
+++ b/test/fixtures/pms.yml
@@ -1,11 +1,11 @@
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
- author:
- recipient:
+ author_id:
+ recipient_id:
message: MyText
two:
- author:
- recipient:
+ author_id:
+ recipient_id:
message: MyText
diff --git a/test/fixtures/team_match_pairs.yml b/test/fixtures/team_match_pairs.yml
index 1a81ab4..5f9cf2f 100644
--- a/test/fixtures/team_match_pairs.yml
+++ b/test/fixtures/team_match_pairs.yml
@@ -1,9 +1,9 @@
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
- team:
- match:
+ team_id:
+ match_id:
two:
- team:
- match:
+ team_id:
+ match_id:
diff --git a/test/fixtures/user_team_pairs.yml b/test/fixtures/user_team_pairs.yml
index bda8bd3..a76036f 100644
--- a/test/fixtures/user_team_pairs.yml
+++ b/test/fixtures/user_team_pairs.yml
@@ -1,9 +1,9 @@
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
- user:
- team:
+ user_id:
+ team_id:
two:
- user:
- team:
+ user_id:
+ team_id:
diff --git a/test/fixtures/users.yml b/test/fixtures/users.yml
index 02ffdbb..9f593bc 100644
--- a/test/fixtures/users.yml
+++ b/test/fixtures/users.yml
@@ -2,10 +2,10 @@
one:
name: MyText
- pw_hash:
- groups:
+ pw_hash: MyText
+ groups: 1
two:
name: MyText
- pw_hash:
- groups:
+ pw_hash: MyText
+ groups: 1