Sha256: 43cab525d58b8f04a26f4cce2d6a6cfc52b12895345894edc7ce099e5114597e
Contents?: true
Size: 363 Bytes
Versions: 3
Compression:
Stored size: 363 Bytes
Contents
require 'test_helper' class ForEachTest < ActiveSupport::TestCase test "creating avatar for each user" do user = UserBuilder.forEachUser! assert !user.avatar.blank? assert user.persisted? end test "comment instantiation" do user = UserBuilder.forEachUser! assert_equal user.comments.count, 20 assert user.persisted? end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bob-builder-0.1.2 | test/for_each_test.rb |
bob-builder-0.1.1 | test/for_each_test.rb |
bob-builder-0.1.0 | test/for_each_test.rb |