Skip to content

Commit

Permalink
fix all model tests
Browse files Browse the repository at this point in the history
  • Loading branch information
achiurizo committed Jul 23, 2010
1 parent e5346df commit 07b3d8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/models/problem_test.rb
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/models/project_test.rb
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/models/task_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit 07b3d8f

Please sign in to comment.