Sha256: 2cc5a2cddd9fee15f35cd8b3e9a5dea56bcb7533e14c7c113e339e6574221ec7

Contents?: true

Size: 206 Bytes

Versions: 2

Compression:

Stored size: 206 Bytes

Contents

require 'test_helper'

class UserTest < ActiveSupport::TestCase
  test "use factory of some_railtie" do
    user = FactoryBot.create(:factory_from_some_railtie)
    assert_equal 'Artem', user.name
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
factory_bot_rails-4.8.2 tmp/aruba/testapp/test/unit/user_test.rb
factory_bot_rails-1.0.0.alpha tmp/aruba/testapp/test/unit/user_test.rb