diff --git a/actioncable/test/channel/base_test.rb b/actioncable/test/channel/base_test.rb index ec19d7de8e..c18ddc5218 100644 --- a/actioncable/test/channel/base_test.rb +++ b/actioncable/test/channel/base_test.rb @@ -62,7 +62,7 @@ def get_latest end def receive - @last_action = [ :recieve ] + @last_action = [ :receive ] end private @@ -138,9 +138,9 @@ def rm_rf end test "should dispatch recieve action when perform_action is called with empty action" do - data = {'content' => 'hello'} + data = { 'content' => 'hello' } @channel.perform_action data - assert_equal [ :recieve ], @channel.last_action + assert_equal [ :receive ], @channel.last_action end test "transmitting data" do