Skip to content

Commit 3298f49

Browse files
committed
Syslog spec depends on inherit=true constant check
1 parent 71c0c68 commit 3298f49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/ruby/library/syslog/constants_spec.rb

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

1818
it "includes the Syslog constants" do
1919
@constants.each do |c|
20-
Syslog::Constants.should have_constant(c)
20+
Syslog::Constants.should.const_defined?(c, true)
2121
end
2222
end
2323
end

0 commit comments

Comments
 (0)