Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Commit 1f59d61

Browse files
author
github-developer
committed
add area test
committing directly to master for demo purposes
1 parent 1016952 commit 1f59d61

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

spec/square_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@
66
expect(square).to respond_to(:side)
77
end
88

9+
it "should respond to area" do
10+
square = Square.new(4)
11+
expect(square).to respond_to(:area)
12+
end
913
end

0 commit comments

Comments
 (0)