Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix some typo in method names, variables
  • Loading branch information
vipulnsward committed May 26, 2013
1 parent 432ffdb commit d745d62
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion activesupport/test/core_ext/numeric_ext_test.rb
Expand Up @@ -77,7 +77,7 @@ def test_chaining_duration_operations
assert_equal @dtnow.advance(:days => 1).advance(:months => 2), @dtnow + 1.day + 2.months
end

def test_duration_after_convertion_is_no_longer_accurate
def test_duration_after_conversion_is_no_longer_accurate
assert_equal 30.days.to_i.since(@now), 1.month.to_i.since(@now)
assert_equal 365.25.days.to_f.since(@now), 1.year.to_f.since(@now)
assert_equal 30.days.to_i.since(@dtnow), 1.month.to_i.since(@dtnow)
Expand Down
2 changes: 1 addition & 1 deletion activesupport/test/core_ext/range_ext_test.rb
Expand Up @@ -54,7 +54,7 @@ def test_should_compare_identical_exclusive
assert((1...10) === (1...10))
end

def test_should_compare_other_with_exlusive_end
def test_should_compare_other_with_exclusive_end
assert((1..10) === (1...10))
end

Expand Down
2 changes: 1 addition & 1 deletion activesupport/test/json/encoding_test.rb
Expand Up @@ -195,7 +195,7 @@ def test_nested_hash_with_float
assert_nothing_raised do
hash = {
"CHI" => {
:dislay_name => "chicago",
:display_name => "chicago",
:latitude => 123.234
}
}
Expand Down
2 changes: 1 addition & 1 deletion activesupport/test/rescuable_test.rb
Expand Up @@ -97,7 +97,7 @@ def test_rescues_defined_later_are_added_at_end_of_the_rescue_handlers_array
assert_equal expected, result
end

def test_children_should_inherit_rescue_defintions_from_parents_and_child_rescue_should_be_appended
def test_children_should_inherit_rescue_definitions_from_parents_and_child_rescue_should_be_appended
expected = ["WraithAttack", "WraithAttack", "NuclearExplosion", "MadRonon", "CoolError"]
result = @cool_stargate.send(:rescue_handlers).collect {|e| e.first}
assert_equal expected, result
Expand Down

0 comments on commit d745d62

Please sign in to comment.