Sha256: f256181db9c8614eb016e2d6b1b975ad12a3c5bea35d6503eeedaf01bf6e695d
Contents?: true
Size: 560 Bytes
Versions: 2
Compression:
Stored size: 560 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) module Loquor class RepresentationTest < Minitest::Test { MediaFile: "/media_files", 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 define_method "test_#{klass}_stores_path_up_correctly" do assert_equal path, Loquor.const_get(klass).path end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
loquor-0.1.1 | test/representations_test.rb |
loquor-0.1.0 | test/representations_test.rb |