Sha256: c63510f5e44569dc83448ccb02a53a5470f836f81c459dc082bfdfd9df43d7cb
Contents?: true
Size: 558 Bytes
Versions: 1
Compression:
Stored size: 558 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
loquor-0.0.2 | test/representations_test.rb |