Skip to content

Commit 97cd432

Browse files
committed
fix specs for older ruby, again
1 parent e8212ed commit 97cd432

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/bashly/library/base_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
context "when #content is a string representing a lib/dir" do
3636
subject do
37-
Class.new(described_class) { def content = "validations" }.new
37+
Class.new(described_class) { def content; "validations"; end }.new
3838
end
3939

4040
it "returns an array of hashes" do

0 commit comments

Comments
 (0)