1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

21 commits

Author SHA1 Message Date
Rafael Mendonça França
55f9b8129a
Add three new rubocop rules
Style/SpaceBeforeBlockBraces
Style/SpaceInsideBlockBraces
Style/SpaceInsideHashLiteralBraces

Fix all violations in the repository.
2016-08-16 04:30:11 -03:00
Xavier Noria
411ccbdab2 remove redundant curlies from hash arguments 2016-08-06 19:44:11 +02:00
Xavier Noria
5c315a8fa6 modernizes hash syntax in activesupport 2016-08-06 19:38:33 +02:00
Xavier Noria
a731125f12 applies new string literal convention in activesupport/test
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 18:10:53 +02:00
Kasper Timm Hansen
57ab74cdb1 Require yaml for XML mini isolation test. 2015-07-11 00:47:56 +02:00
Ankit Gupta
40fe833493 as/core_ext require's not used 2015-05-08 10:39:30 -04:00
Adam Doeler
ddc1b02f99 Fixes wording of test description 2015-02-11 14:07:56 -05:00
Rafael Mendonça França
6e9af5c7e5 Merge pull request #11656 from emre-basala/xml_mini_test
Add tests to ActiveSupport:XmlMini to_tag method
2014-04-10 14:38:22 -03:00
Rafael Mendonça França
82701cd61e Merge pull request #12769 from birkirb/master
Boolean parser blows up on a Fixnum.

Conflicts:
	activesupport/CHANGELOG.md
2014-02-01 14:49:32 -02:00
Birkir A. Barkarson
8dd4aca485 Fix breakage in XmlMini
- Boolean parsing breaks on non strings (i.e. integer 1|0)
- Symbol parsing breaks on non strings.
- BigDecimal parsing breaks due to missing require.
- Update changelog.
2013-12-23 14:04:16 +09:00
Arun Agrawal
6f0b1ae04e Fix order dependent test
see c48cbb02d7
2013-09-09 17:11:16 +02:00
Vijay Dev
ec8ef1e105 Revert "Merge branch 'master' of github.com:rails/docrails"
This reverts commit 70d6e16fba, reversing
changes made to ea4db3bc07.

Seems to be a code merge done by mistake.
2013-08-17 21:46:39 +05:30
emre-basala
05d7cdec5f Add tests to ActiveSupport:XmlMini to_tag method 2013-08-07 18:58:41 +01:00
Akira Matsuda
c48cbb02d7 Fix order dependent tests
Restore default ActiveSupport::XmlMini.backend after tests
2013-07-26 04:17:00 +09:00
Nikita Afanasenko
1fab2002e3 Make XmlMini.with_backend usable with threads
`XmlMini.with_backend` now may be safely used with threads:

  Thread.new do
    XmlMini.with_backend("REXML") { rexml_power }
  end
  Thread.new do
    XmlMini.with_backend("LibXML") { libxml_power }
  end

Each thread will use it's own backend.
2012-11-15 20:23:05 +04:00
Aaron Patterson
b8d8c50785 use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
Aaron Patterson
64807b964f fixing tests on ruby trunk 2011-07-26 11:02:41 -07:00
Aaron Patterson
d4246e5bb3 fixing whitespace errors 2011-07-26 11:00:33 -07:00
prakashmurthy
6b31fd8070 Lighthouse ticket # 6334; added tests to verify that spaces in key are dasherized. 2011-05-08 06:13:18 -06:00
Mike Gehard
0bc91a4cf7 Rename duplicate tests. There is now one failing test that was failing before the rename but was never getting run. 2011-05-07 17:02:42 -06:00
José Valim
803548c46b xml_mini_test.rb now runs. 2011-05-07 22:45:06 +02:00
Renamed from activesupport/test/test_xml_mini.rb (Browse further)