test/representations_test.rb in loquor-0.0.2 vs test/representations_test.rb in loquor-0.1.0
- old
+ new
@@ -3,11 +3,11 @@
module Loquor
class RepresentationTest < Minitest::Test
{
MediaFile: "/media_files",
- User: "/users"
- GroupDiscussion: "/group_discussions"
+ User: "/users",
+ GroupDiscussion: "/group_discussions",
GroupDiscussionPost: "/group_discussion_posts"
}.each do |klass, path|
define_method "test_#{klass}_set_up_correctly" do
assert Loquor.const_defined?(klass)
end