Skip to content

Commit

Permalink
feat(can_have_connected_steps): add inspect for empty expression
Browse files Browse the repository at this point in the history
  • Loading branch information
marian13 committed Feb 16, 2024
1 parent 6ff4b38 commit 40496c1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ def with_organizer(organizer)
self
end

##
# @return [String]
#
def inspect
""
end

##
# @return [Boolean]
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@
end
end

describe "#inspect" do
it "returns empty string" do
expect(expression.inspect).to eq("")
end
end

describe "#empty?" do
it "returns `true`" do
expect(expression.empty?).to eq(true)
Expand Down

0 comments on commit 40496c1

Please sign in to comment.