21 lines
348 B
Ruby
21 lines
348 B
Ruby
require "test_helper"
|
|
|
|
class LaradiTest < ActiveSupport::TestCase
|
|
test "it has a version number" do
|
|
assert Laradi::VERSION
|
|
end
|
|
|
|
test "LogicUnit exists" do
|
|
lu = LogicUnit.new
|
|
|
|
assert lu.execute === "It Works"
|
|
end
|
|
|
|
test "It can inject dependencies" do
|
|
lur = LogicUnitReceiver.new
|
|
|
|
assert_not_nil lur.get_unit
|
|
end
|
|
|
|
end
|