Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typos in spec. #968

Merged
merged 2 commits into from Feb 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions spec/twitter/streaming/client_spec.rb
Expand Up @@ -31,7 +31,7 @@ def stream(_request, response)
end

describe '#filter' do
it 'returns an arary of Tweets' do
it 'returns an array of Tweets' do
@client.connection = FakeConnection.new(fixture('track_streaming.json'))
objects = []
@client.filter(track: 'india') do |object|
Expand All @@ -44,7 +44,7 @@ def stream(_request, response)
end

describe '#firehose' do
it 'returns an arary of Tweets' do
it 'returns an array of Tweets' do
@client.connection = FakeConnection.new(fixture('track_streaming.json'))
objects = []
@client.firehose do |object|
Expand All @@ -57,7 +57,7 @@ def stream(_request, response)
end

describe '#sample' do
it 'returns an arary of Tweets' do
it 'returns an array of Tweets' do
@client.connection = FakeConnection.new(fixture('track_streaming.json'))
objects = []
@client.sample do |object|
Expand All @@ -71,7 +71,7 @@ def stream(_request, response)

describe '#site' do
context 'with a user ID passed' do
it 'returns an arary of Tweets' do
it 'returns an array of Tweets' do
@client.connection = FakeConnection.new(fixture('track_streaming.json'))
objects = []
@client.site(7_505_382) do |object|
Expand All @@ -83,7 +83,7 @@ def stream(_request, response)
end
end
context 'with a user object passed' do
it 'returns an arary of Tweets' do
it 'returns an array of Tweets' do
@client.connection = FakeConnection.new(fixture('track_streaming.json'))
objects = []
user = Twitter::User.new(id: 7_505_382)
Expand All @@ -98,7 +98,7 @@ def stream(_request, response)
end

describe '#user' do
it 'returns an arary of Tweets' do
it 'returns an array of Tweets' do
@client.connection = FakeConnection.new(fixture('track_streaming_user.json'))
objects = []
@client.user do |object|
Expand Down