Add test for existence of LogicUnit class
This commit is contained in:
1 parent
b06420c828
commit
ca9b31a713
2 files changed
+12
No files matched your search
@@ -0,0 +1,6 @@
|
||||
class LogicUnit
|
||||
|
||||
def execute
|
||||
"It Works"
|
||||
end
|
||||
end
|
||||
@@ -4,4 +4,10 @@ class LaradiTest < ActiveSupport::TestCase
|
||||
test "it has a version number" do
|
||||
assert Laradi::VERSION
|
||||
end
|
||||
|
||||
test "LogicUnit exists" do
|
||||
lu = LogicUnit.new
|
||||
|
||||
asset lu.execute === "It Works"
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user