Sha256: 711b71100c96bee2cba482af6dd860f9cf2eac280ac724ec8f0d1b0c9119b401
Contents?: true
Size: 556 Bytes
Versions: 2
Compression:
Stored size: 556 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) module Loquor class InteractorTest < 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.2.0 | test/interactors_test.rb |
loquor-0.1.2 | test/interactors_test.rb |