Sha256: 82c258ff28a3c57475e0ccba3c281bbb9dfe4a3247f32ce44cd394b977a01574
Contents?: true
Size: 443 Bytes
Versions: 8
Compression:
Stored size: 443 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' unit_tests do test "can create person" do person = Person.create! :name => "Bob" assert_equal "Bob", person.name end test "person created in db:test:prepare is available" do assert_not_nil Person.find_by_name("Created In db:test:prepare"), "Person created in db:test:prepare not in #{ActiveRecord::Base.connection.current_database} database" end end
Version data entries
8 entries across 8 versions & 1 rubygems