Displaying 2 results from an estimated 2 matches for "test_read".
Did you mean:
test_pread
2005 Dec 20
9
Rails Configuration Question
...tion, table definition, and foreign key relationships.
#Unit Test Example#
This is code from a working unit test that accesses the database:
require File.dirname(__FILE__) + ''/../test_helper''
class BugTest < Test::Unit::TestCase
def setup
@bug = Bug.find(1)
end
def test_read
assert_equal 1, @bug.id
puts "Category => " + @bug.category.sCategory
puts "Project => " + @bug.project.sProject
puts "Area => " + @bug.area.sArea
puts "PersonOpenedBy => " + @bug.person_opened_by.sFullName
puts "Perso...
2023 Jul 06
0
Warning 'as.data.frame.POSIXct()' is deprecated
...;>> df = data.frame (time = seq(now, now + 10, by =1), B = 1:11)
>>>>> ```
>>>>>>
>>>>> (this is a simplification of for example:
>>>>>>
>>>> https://github.com/wadpac/GGIR/blob/master/tests/testthat/test_read.myacc.csv.R
>>>>> )
>>>>>>
>>>>> Does this mean I am discouraged from putting a vector with POSIXct
>>>>> values
>>>>> in a data.frame?
>>>>> If yes, what would be the recommended work around?
>...