Skip to content

Commit 7378ffb

Browse files
authored
Merge pull request rails#40941 from jbampton/fix-spelling
Fix spelling
2 parents fb9bfa7 + 9a2b666 commit 7378ffb

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

activerecord/test/cases/test_fixtures_test.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def test_doesnt_rely_on_active_support_test_case_specific_methods_with_legacy_co
4040

4141
fixtures :all
4242

43-
def test_run_successfuly
43+
def test_run_successfully
4444
assert_equal("Hello", Zine.first.title)
4545
assert_equal("Hello", zines(:going_out).title)
4646
end
@@ -51,7 +51,7 @@ def test_run_successfuly
5151
ActiveRecord::Base.connection_handlers = {}
5252
ActiveRecord::Base.establish_connection(:arunit)
5353

54-
test_result = klass.new("test_run_successfuly").run
54+
test_result = klass.new("test_run_successfully").run
5555
assert_predicate(test_result, :passed?)
5656
ensure
5757
clean_up_legacy_connection_handlers
@@ -75,7 +75,7 @@ def test_doesnt_rely_on_active_support_test_case_specific_methods
7575

7676
fixtures :all
7777

78-
def test_run_successfuly
78+
def test_run_successfully
7979
assert_equal("Hello", Zine.first.title)
8080
assert_equal("Hello", zines(:going_out).title)
8181
end
@@ -85,7 +85,7 @@ def test_run_successfuly
8585
ActiveRecord::Base.connection_handler = ActiveRecord::ConnectionAdapters::ConnectionHandler.new
8686
ActiveRecord::Base.establish_connection(:arunit)
8787

88-
test_result = klass.new("test_run_successfuly").run
88+
test_result = klass.new("test_run_successfully").run
8989
assert_predicate(test_result, :passed?)
9090
ensure
9191
ActiveRecord::Base.connection_handler = old_handler

activesupport/test/cache/behaviors/cache_store_coder_behavior.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def load(payload)
2121
end
2222
end
2323

24-
def test_coder_recieve_the_entry_on_write
24+
def test_coder_receive_the_entry_on_write
2525
coder = SpyCoder.new
2626
@store = lookup_store(coder: coder)
2727
@store.write("foo", "bar")
@@ -31,7 +31,7 @@ def test_coder_recieve_the_entry_on_write
3131
assert_equal "bar", entry.value
3232
end
3333

34-
def test_coder_recieve_the_entry_on_read
34+
def test_coder_receive_the_entry_on_read
3535
coder = SpyCoder.new
3636
@store = lookup_store(coder: coder)
3737
@store.write("foo", "bar")
@@ -42,7 +42,7 @@ def test_coder_recieve_the_entry_on_read
4242
assert_equal "bar", entry.value
4343
end
4444

45-
def test_coder_recieve_the_entry_on_read_multi
45+
def test_coder_receive_the_entry_on_read_multi
4646
coder = SpyCoder.new
4747
@store = lookup_store(coder: coder)
4848
@store.write_multi({ "foo" => "bar", "egg" => "spam" })
@@ -57,7 +57,7 @@ def test_coder_recieve_the_entry_on_read_multi
5757
assert_equal "spam", entry.value
5858
end
5959

60-
def test_coder_recieve_the_entry_on_write_multi
60+
def test_coder_receive_the_entry_on_write_multi
6161
coder = SpyCoder.new
6262
@store = lookup_store(coder: coder)
6363
@store.write_multi({ "foo" => "bar", "egg" => "spam" })
@@ -71,7 +71,7 @@ def test_coder_recieve_the_entry_on_write_multi
7171
assert_equal "spam", entry.value
7272
end
7373

74-
def test_coder_does_not_recieve_the_entry_on_read_miss
74+
def test_coder_does_not_receive_the_entry_on_read_miss
7575
coder = SpyCoder.new
7676
@store = lookup_store(coder: coder)
7777
@store.read("foo")

0 commit comments

Comments
 (0)