summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-03-25 16:12:18 -0400
committerguntasgrewal <guntasgrewal@gmail.com>2014-03-25 16:12:18 -0400
commitecef4973baed5580e3b2500ce0a65def1132d172 (patch)
tree5590167b74523db62ff6bb17b07fb04a400d9044 /test
parentc1f714a479eb7ca9e9125e283361a471dd928278 (diff)
Changes to generate.sh
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/game_settings.yml (renamed from test/fixtures/game_options.yml)12
-rw-r--r--test/models/game_setting_test.rb (renamed from test/models/game_option_test.rb)2
2 files changed, 11 insertions, 3 deletions
diff --git a/test/fixtures/game_options.yml b/test/fixtures/game_settings.yml
index eb4760a..5626c97 100644
--- a/test/fixtures/game_options.yml
+++ b/test/fixtures/game_settings.yml
@@ -1,11 +1,19 @@
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
- vartype: 1
+ game_id:
+ type: 1
name: MyString
default: MyText
+ discription: MyText
+ type_opt: MyText
+ display_order: 1
two:
- vartype: 1
+ game_id:
+ type: 1
name: MyString
default: MyText
+ discription: MyText
+ type_opt: MyText
+ display_order: 1
diff --git a/test/models/game_option_test.rb b/test/models/game_setting_test.rb
index 1ae5701..8ab8bcf 100644
--- a/test/models/game_option_test.rb
+++ b/test/models/game_setting_test.rb
@@ -1,6 +1,6 @@
require 'test_helper'
-class GameOptionTest < ActiveSupport::TestCase
+class GameSettingTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end