Skip to content
Browse files

fix all model tests

  • Loading branch information...
1 parent e5346df commit 07b3d8fc46cc62623c666094f17196ac43e13b1c @achiu achiu committed Jul 23, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 test/models/problem_test.rb
  2. +1 −1 test/models/project_test.rb
  3. +1 −1 test/models/task_test.rb
View
2 test/models/problem_test.rb
@@ -3,7 +3,7 @@
context "Problem Model" do
setup { Problem.delete_all }
context "definition" do
- setup { Problem.make }
+ setup { Problem }
asserts_topic.has_key :title, String
asserts_topic.has_key :description, String
end
View
2 test/models/project_test.rb
@@ -4,7 +4,7 @@
setup { Project.delete_all }
context "definition" do
- setup { Project.make }
+ setup { Project }
asserts_topic.has_key :title, String
asserts_topic.has_key :description, String
end
View
2 test/models/task_test.rb
@@ -4,7 +4,7 @@
setup { Task.delete_all }
context "definition" do
- setup { Task.make }
+ setup { Task }
asserts_topic.has_key :title, String
asserts_topic.has_key :description, String

0 comments on commit 07b3d8f

Please sign in to comment.
Something went wrong with that request. Please try again.