José Valim
|
089bc761f8
|
Merge pull request #4378 from lest/changes-1-9
ruby 1.9 related refactoring
|
2012-01-07 05:33:46 -08:00 |
|
Sergey Nartimov
|
5215eed5a3
|
Symbol#[] method presents in Ruby 1.9
|
2012-01-07 15:30:36 +03:00 |
|
Sergey Nartimov
|
8c63e7d35d
|
instance_variables method returns symbols in 1.9 ruby
|
2012-01-07 15:30:05 +03:00 |
|
José Valim
|
0c1846e409
|
Merge pull request #4377 from lest/instance-variables-1-9
get rid of using instance_variable_names method from AS
|
2012-01-07 03:51:06 -08:00 |
|
Sergey Nartimov
|
7d862359d0
|
get rid of using instance_variable_names method from AS
- instance_variables return symbols in 1.9
- there is instance_variable_defined? method
|
2012-01-07 14:44:47 +03:00 |
|
Piotr Sarnacki
|
ba168e8f06
|
Merge pull request #4369 from lest/remove-warnings
use stub instead of redefining method to suppress warnings
|
2012-01-07 03:18:46 -08:00 |
|
Piotr Sarnacki
|
f082004fbc
|
Merge pull request #4373 from castlerock/remove_condition
if turn available then MiniTest::Unit.respond_to?(:use_natural_language_...
|
2012-01-07 03:17:10 -08:00 |
|
José Valim
|
ef023ce1d8
|
Merge pull request #4376 from bogdan/after_initialize_on_dup
Fixed after_initialize callbacks call on AR model #dup
|
2012-01-07 01:22:49 -08:00 |
|
José Valim
|
b5dceafd30
|
Merge pull request #4375 from lest/benchmark-helper
add benchmark helper that works in erb
|
2012-01-07 01:18:51 -08:00 |
|
Sergey Nartimov
|
904e544cc8
|
add benchmark helper that works in erb
|
2012-01-07 12:17:48 +03:00 |
|
Bogdan Gusiev
|
30468f58a7
|
Fixed after_initialize callbacks call on AR model #dup
|
2012-01-07 11:11:04 +02:00 |
|
Vishnu Atrai
|
c0042b1df9
|
if turn available then MiniTest::Unit.respond_to?(:use_natural_language_case_names=) available
|
2012-01-07 12:22:18 +05:30 |
|
Aaron Patterson
|
686f94e768
|
remove reference to Test::Unit
|
2012-01-06 17:39:44 -08:00 |
|
Aaron Patterson
|
4a2035156a
|
spec class names can possibly be nil in mt/s < 2.6.1, so work around that
|
2012-01-06 17:28:37 -08:00 |
|
Aaron Patterson
|
fec6f1ba82
|
Merge pull request #4360 from rafaelfranca/patch-1
Remove more references to Test::Unit
|
2012-01-06 16:43:18 -08:00 |
|
Aaron Patterson
|
1c09c29a09
|
register spec subclasses for people who spec
|
2012-01-06 15:50:47 -08:00 |
|
Aaron Patterson
|
b15d2c0708
|
require minitest rather than test/unit
|
2012-01-06 15:50:47 -08:00 |
|
Aaron Patterson
|
a58fb105e7
|
backport assert_not_same
|
2012-01-06 15:50:47 -08:00 |
|
Aaron Patterson
|
9342492e14
|
require test/unit and sort test order
|
2012-01-06 15:50:47 -08:00 |
|
Aaron Patterson
|
aa7857b617
|
started converting AS::TestCase to minitest
|
2012-01-06 15:50:47 -08:00 |
|
Rafael Mendonça França
|
185aa821d9
|
Whitespaces ✂️
|
2012-01-06 20:43:12 -03:00 |
|
Rafael Mendonça França
|
3d4754f131
|
Use ActiveModel::TestCase instead of Test::Unit:TestCase
|
2012-01-06 20:43:08 -03:00 |
|
Rafael Mendonça França
|
ce84df020a
|
MiniTest is always defined in this case
|
2012-01-06 20:43:04 -03:00 |
|
Rafael Mendonça França
|
f9382cd794
|
Test::Unit::Util::BacktraceFilter is never defined
|
2012-01-06 20:42:53 -03:00 |
|
Sergey Nartimov
|
f1b05deba7
|
use stub instead of redefining method to suppress warnings
|
2012-01-07 02:17:18 +03:00 |
|
Aaron Patterson
|
f65559fcc2
|
make sure the test case name is nil
|
2012-01-06 15:17:08 -08:00 |
|
Aaron Patterson
|
056b8386d0
|
removing unnecessary requires
|
2012-01-06 14:43:04 -08:00 |
|
Aaron Patterson
|
579acb49df
|
just mix the run method in for minitest
|
2012-01-06 14:08:23 -08:00 |
|
Aaron Patterson
|
0579f303ec
|
rescue the assertion exception
|
2012-01-06 14:01:02 -08:00 |
|
Aaron Patterson
|
f8964bd546
|
add the class name to the assertion message
|
2012-01-06 13:58:55 -08:00 |
|
Aaron Patterson
|
984ce0cf9a
|
use a regular expression for the number of passes. We only care that
all tests pass, not the number of tests.
|
2012-01-06 13:46:28 -08:00 |
|
Jeremy Kemper
|
6708e8438c
|
Merge pull request #4349 from lest/change-array-wrap-2
Array.wrap is an overhead as there is already check for class
|
2012-01-06 12:48:13 -08:00 |
|
Santiago Pastorino
|
69fe594e69
|
Merge pull request #4358 from castlerock/remove_plus_minus_support_for_ruby18
revert "fixing some tests on ruby 1.9.3"
|
2012-01-06 12:12:45 -08:00 |
|
Vishnu Atrai
|
4f75809f04
|
revert "fixing some tests on ruby 1.9.3 SHA 33f222b"
|
2012-01-07 01:26:02 +05:30 |
|
Santiago Pastorino
|
4d7ed974c0
|
Merge pull request #4359 from Karunakar/logger
removed unnecessary require for activesupport/core_ext/array/wrap
|
2012-01-06 11:54:01 -08:00 |
|
Aaron Patterson
|
9699eeb496
|
convert build_message to sprintf
|
2012-01-06 11:52:26 -08:00 |
|
Aaron Patterson
|
6548fc6617
|
use assert_equal and assert_operator
|
2012-01-06 11:48:32 -08:00 |
|
Aaron Patterson
|
a0dc9cae88
|
use sprintf rather than build_message
|
2012-01-06 11:41:08 -08:00 |
|
Aaron Patterson
|
a0bab371ae
|
Just use assert_equal
|
2012-01-06 11:34:11 -08:00 |
|
Aaron Patterson
|
d28a15ede5
|
refactor assert_response
|
2012-01-06 11:24:01 -08:00 |
|
Aaron Patterson
|
01d17943ec
|
test response assertions
|
2012-01-06 11:20:26 -08:00 |
|
Aaron Patterson
|
180eb8ff31
|
no need for assert_block
|
2012-01-06 11:11:34 -08:00 |
|
Aaron Patterson
|
48ed7e6ac4
|
stop using build_message for creating a string
|
2012-01-06 11:11:29 -08:00 |
|
Aaron Patterson
|
6a383f4b48
|
use assert_includes rather than calling includes? specifically
|
2012-01-06 11:11:23 -08:00 |
|
Aaron Patterson
|
d971a1c541
|
just use assert and refute rather than building messages
|
2012-01-06 11:10:53 -08:00 |
|
Karunakar (Ruby)
|
ef9d26663c
|
removed unnecessary require for activesupport/core_ext/array/wrap
|
2012-01-07 00:30:01 +05:30 |
|
Aaron Patterson
|
3abacc0a70
|
Merge pull request #4357 from rafaelfranca/patch-1
Remove more references to Test::Unit
|
2012-01-06 10:51:39 -08:00 |
|
Rafael Mendonça França
|
2fc3a30e17
|
Remove more references to Test::Unit
|
2012-01-06 15:36:36 -03:00 |
|
Santiago Pastorino
|
c8fef32a66
|
Merge pull request #4356 from Karunakar/logger
removed unnessary require active_support/core_ext/array_wrap
|
2012-01-06 10:00:33 -08:00 |
|
Aaron Patterson
|
cac0bd16ce
|
Merge pull request #4327 from Karunakar/minor
removed warning because logger.warn differentiate the warings
|
2012-01-06 09:57:41 -08:00 |
|