Runtime assertions for Ruby literal.fun
ruby
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

Delete rails.test.rb

-10
-10
test/rails.test.rb
··· 1 - # frozen_string_literal: true 2 - 3 - test "ActiveRecord::Relation with non-ActiveRecord::Base child" do 4 - assert_raises(Literal::TypeError) do 5 - Class.new do 6 - extend Literal::Properties 7 - prop :example, ActiveRecord::Relation(String) 8 - end 9 - end 10 - end